-
Notifications
You must be signed in to change notification settings - Fork 8
/
eslint.js
31 lines (28 loc) · 961 Bytes
/
eslint.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
/** @ts-check @type import('./types').TsEslintConfig */
module.exports = {
"extends": [
"eslint-config-standard",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"rules": {
//
// Disable rules provided by other configs
//
"no-unused-vars": 0, // Provided by TypeScript
"no-undef": 0, // Provided by TypeScript
"no-void": 0,
//
// Disable opinionated rules from @typescript-eslint
//
"@typescript-eslint/member-delimiter-style": 0, // Provided by Prettier
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/no-explicit-any": 0,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/no-use-before-define': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/no-unused-vars': 0, // Use TS compiler option instead
}
}