Skip to content

Commit

Permalink
Disable tslint for autofill service
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Dec 21, 2021
1 parent 1d4b009 commit c0620f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
3 changes: 2 additions & 1 deletion src/services/autofill.service.ts
@@ -1,3 +1,4 @@
/* tslint:disable */
import { CipherService } from 'jslib-common/abstractions/cipher.service';
import { EventService } from 'jslib-common/abstractions/event.service';
import { LogService } from 'jslib-common/abstractions/log.service';
Expand Down Expand Up @@ -128,7 +129,7 @@ var IsoProvinces: { [id: string]: string; } = {
alberta: 'AB', 'british columbia': 'BC', manitoba: 'MB', 'new brunswick': 'NB', 'newfoundland and labrador': 'NL',
'nova scotia': 'NS', ontario: 'ON', 'prince edward island': 'PE', quebec: 'QC', saskatchewan: 'SK',
};
/* tslint:enable */
// /* tslint:enable */

export default class AutofillService implements AutofillServiceInterface {

Expand Down
21 changes: 10 additions & 11 deletions tslint.json
@@ -1,17 +1,17 @@
{
"extends": "tslint:recommended",
"rules": {
"align": [ true, "statements", "members" ],
"align": [true, "statements", "members"],
"ban-types": {
"options": [
[ "Object", "Avoid using the `Object` type. Did you mean `object`?" ],
[ "Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?" ],
[ "Number", "Avoid using the `Number` type. Did you mean `number`?" ],
[ "String", "Avoid using the `String` type. Did you mean `string`?" ],
[ "Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?" ]
["Object", "Avoid using the `Object` type. Did you mean `object`?"],
["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"],
["Number", "Avoid using the `Number` type. Did you mean `number`?"],
["String", "Avoid using the `String` type. Did you mean `string`?"],
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"]
]
},
"member-access": [ true, "no-public" ],
"member-access": [true, "no-public"],
"member-ordering": [
true,
{
Expand All @@ -34,11 +34,10 @@
]
}
],
"no-empty": [ true ],
"no-empty": [true],
"object-literal-sort-keys": false,
"object-literal-shorthand": [ true, "never" ],
"object-literal-shorthand": [true, "never"],
"prefer-for-of": false,
"quotemark": [ true, "single" ],
"whitespace": [
true,
"check-branch",
Expand All @@ -51,7 +50,7 @@
],
"max-classes-per-file": false,
"ordered-imports": true,
"arrow-parens": [ true ],
"arrow-parens": [true],
"trailing-comma": [
true,
{
Expand Down

0 comments on commit c0620f3

Please sign in to comment.