thunderhub/.eslintrc.js

27 lines
697 B
JavaScript
Raw Normal View History

2020-05-07 13:51:39 +02:00
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
2021-12-08 04:16:40 +01:00
project: 'tsconfig.json',
sourceType: 'module',
2020-05-07 13:51:39 +02:00
},
2021-12-08 04:16:40 +01:00
plugins: ['@typescript-eslint/eslint-plugin'],
2020-05-07 13:51:39 +02:00
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
2021-06-21 11:34:26 +02:00
'prettier',
2020-05-07 13:51:39 +02:00
],
2021-12-08 04:16:40 +01:00
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
2020-05-07 13:51:39 +02:00
rules: {
2021-12-08 04:16:40 +01:00
'@typescript-eslint/interface-name-prefix': 'off',
2020-05-07 19:08:56 +02:00
'@typescript-eslint/explicit-function-return-type': 'off',
2021-12-08 04:16:40 +01:00
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
2021-12-08 04:16:40 +01:00
'@typescript-eslint/no-unused-vars': 'error',
2020-05-07 13:51:39 +02:00
},
};