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.
26 lines
931 B
26 lines
931 B
module.exports = { |
|
parser: '@typescript-eslint/parser', // Specifies the ESLint parser |
|
extends: [ |
|
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin |
|
], |
|
parserOptions: { |
|
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features |
|
sourceType: 'module', // Allows for the use of imports |
|
}, |
|
rules: { |
|
"curly": 1, |
|
"@typescript-eslint/explicit-function-return-type": [0], |
|
"@typescript-eslint/no-explicit-any": [0], |
|
"ordered-imports": [0], |
|
"object-literal-sort-keys": [0], |
|
"max-len": [1, 120], |
|
"new-parens": 1, |
|
"no-bitwise": 1, |
|
"no-cond-assign": 1, |
|
"no-trailing-spaces": 0, |
|
"eol-last": 1, |
|
"func-style": ["error", "declaration", { "allowArrowFunctions": true }], |
|
"semi": 1, |
|
"no-var": 0 |
|
}, |
|
};
|
|
|