-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
31 lines (30 loc) · 879 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require("@rushstack/eslint-config/patch/modern-module-resolution")
module.exports = {
extends: [
"@rushstack/eslint-config/profile/node",
"@rushstack/eslint-config/mixins/friendly-locals",
],
plugins: [ "simple-import-sort" ],
ignorePatterns: [ ".eslintrc.js", "lib", "bin" ],
rules: {
"@typescript-eslint/naming-convention": [
"warn",
{
selector: "interface",
format: [ "PascalCase" ],
custom: {
regex: "^I[A-Z]",
match: false,
},
},
],
"@typescript-eslint/member-ordering": "error",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-parameter-properties": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"sort-imports": "off",
"import/order": "off",
"no-duplicate-imports": "off",
},
}