2021-03-24 17:42:45 +03:00
|
|
|
module.exports = {
|
|
|
|
extends: 'standard-with-typescript',
|
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
project: [
|
2021-04-08 02:37:17 +03:00
|
|
|
'./ui/tsconfig.eslint.json',
|
|
|
|
'./modules/*/tsconfig.eslint.json'
|
2021-03-24 17:42:45 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
overrides: [{
|
|
|
|
files: ['*.ts'],
|
|
|
|
rules: {
|
|
|
|
radix: 'off',
|
2021-03-24 18:03:31 +03:00
|
|
|
'no-unused-vars': 'off',
|
|
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
2021-03-24 17:42:45 +03:00
|
|
|
'accessor-pairs': 'off',
|
|
|
|
'return-undefined': 'off',
|
|
|
|
'no-throw-literal': 'off',
|
|
|
|
'import-first': 'off',
|
|
|
|
'@typescript-eslint/array-type': 'off',
|
|
|
|
'@typescript-eslint/consistent-type-assertions': 'off',
|
|
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
|
|
'@typescript-eslint/no-empty-interface': 'off',
|
|
|
|
'@typescript-eslint/no-extraneous-class': 'off',
|
|
|
|
'@typescript-eslint/no-floating-promises': 'off',
|
|
|
|
'@typescript-eslint/require-await': 'off',
|
|
|
|
'@typescript-eslint/restrict-template-expressions': 'off',
|
|
|
|
'@typescript-eslint/promise-function-async': 'off',
|
|
|
|
'@typescript-eslint/no-misused-promises': 'off',
|
|
|
|
'array-bracket-spacing': ['error', 'always'],
|
|
|
|
'@typescript-eslint/quotes': ['error', 'single', { avoidEscape: true }],
|
|
|
|
'@typescript-eslint/strict-boolean-expressions': 'off',
|
|
|
|
'@typescript-eslint/return-await': 'off',
|
|
|
|
'node/no-callback-literal': 'off',
|
|
|
|
'no-async-promise-executor': 'off',
|
|
|
|
'@typescript-eslint/no-dynamic-delete': 'off'
|
|
|
|
}
|
2021-03-24 18:03:31 +03:00
|
|
|
}]
|
2021-03-24 17:42:45 +03:00
|
|
|
}
|