-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
20 lines (20 loc) · 878 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = {
root: true,
env: { node: true, jest: true },
ignorePatterns: ['.eslintrc.js'],
parser: '@typescript-eslint/parser',
parserOptions: { project: 'tsconfig.json', sourceType: 'module', ecmaVersion: 'latest' },
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
plugins: ['@typescript-eslint/eslint-plugin', 'simple-import-sort'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
'prettier/prettier': ['error', { printWidth: 120 }],
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
"@typescript-eslint/no-namespace": "off"
},
};