2020-04-13 16:32:57 +02:00
|
|
|
module.exports = {
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2018,
|
|
|
|
sourceType: 'module',
|
|
|
|
project: './tsconfig.json',
|
|
|
|
tsconfigRootDir: __dirname,
|
2020-04-13 10:59:25 +02:00
|
|
|
},
|
2020-04-13 16:32:57 +02:00
|
|
|
plugins: ['@typescript-eslint'],
|
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
|
|
'prettier/@typescript-eslint',
|
|
|
|
'plugin:prettier/recommended',
|
|
|
|
],
|
|
|
|
rules: {},
|
2020-04-13 10:59:25 +02:00
|
|
|
};
|