2020-04-13 16:32:57 +02:00
|
|
|
module.exports = {
|
2020-05-12 19:16:23 +02:00
|
|
|
parser: '@typescript-eslint/parser',
|
2022-02-03 12:26:04 +01:00
|
|
|
plugins: ['@typescript-eslint', 'json'],
|
2020-05-12 19:16:23 +02:00
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
'plugin:prettier/recommended',
|
|
|
|
'prettier/@typescript-eslint',
|
2022-02-03 12:26:04 +01:00
|
|
|
'plugin:json/recommended',
|
2020-05-12 19:16:23 +02:00
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2018,
|
|
|
|
sourceType: 'module',
|
|
|
|
project: './tsconfig.json',
|
|
|
|
tsconfigRootDir: __dirname,
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
|
|
|
|
},
|
2020-04-13 10:59:25 +02:00
|
|
|
};
|