Skip to content

Commit 6a1431f

Browse files
authored
chore: Synced local '.eslintrc.json' with remote 'sync-files/js/.eslintrc.json' (#403)
1 parent 696068b commit 6a1431f

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.eslintrc.json

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,31 @@
1616
"@typescript-eslint/ban-ts-comment": 0,
1717
"@typescript-eslint/ban-types": 1,
1818
"@typescript-eslint/no-empty-function": 1,
19-
// disable the rule for all files
20-
"@typescript-eslint/explicit-member-accessibility": "off"
21-
},
19+
"@typescript-eslint/member-ordering": 1,
20+
// disable the rule for all files
21+
"@typescript-eslint/explicit-member-accessibility": "off"
22+
},
2223
"overrides": [
2324
{
24-
// enable the rule specifically for TypeScript files
25-
"files": ["*.ts", "*.tsx"],
26-
"rules": {
27-
"@typescript-eslint/explicit-member-accessibility": [
28-
1, {
25+
// enable the rule specifically for TypeScript files
26+
"files": ["*.ts", "*.tsx"],
27+
"rules": {
28+
"@typescript-eslint/explicit-member-accessibility": [
29+
1,
30+
{
2931
"accessibility": "explicit",
3032
"overrides": {
3133
"accessors": "explicit",
3234
"constructors": "no-public",
3335
"methods": "explicit",
3436
"properties": "explicit",
3537
"parameterProperties": "explicit"
36-
}}]
37-
}
38-
}],
38+
}
39+
}
40+
]
41+
}
42+
}
43+
],
3944
"env": {
4045
"browser": true,
4146
"node": true,

0 commit comments

Comments
 (0)