You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.3 KiB
56 lines
1.3 KiB
{ |
|
"root": true, |
|
"env": { |
|
"browser": true, |
|
"node": true |
|
}, |
|
"parser": "@typescript-eslint/parser", |
|
"plugins": ["@typescript-eslint"], |
|
"extends": [ |
|
"eslint:recommended", |
|
"plugin:@typescript-eslint/recommended", |
|
"plugin:import/recommended", |
|
"plugin:import/typescript", |
|
"prettier" |
|
], |
|
"rules": { |
|
"@typescript-eslint/no-explicit-any": "off", // TODO: This should be re-enabled |
|
"@typescript-eslint/no-unused-vars": ["warn", { "args": "none" }], |
|
"@typescript-eslint/explicit-member-accessibility": [ |
|
"error", |
|
{ |
|
"accessibility": "no-public" |
|
} |
|
], |
|
"@typescript-eslint/no-this-alias": [ |
|
"error", |
|
{ |
|
"allowedNames": ["self"] |
|
} |
|
], |
|
"no-console": "warn", |
|
"import/no-unresolved": "off", // TODO: Look into turning off once each package is an actual package. |
|
"import/order": [ |
|
"error", |
|
{ |
|
"alphabetize": { |
|
"order": "asc" |
|
}, |
|
"newlines-between": "always", |
|
"pathGroups": [ |
|
{ |
|
"pattern": "jslib-*/**", |
|
"group": "external", |
|
"position": "after" |
|
}, |
|
{ |
|
"pattern": "src/**/*", |
|
"group": "parent", |
|
"position": "before" |
|
} |
|
], |
|
"pathGroupsExcludedImportTypes": ["builtin"] |
|
} |
|
] |
|
} |
|
}
|
|
|