2022-05-15 14:44:12 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
amd: true,
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
parser: '@typescript-eslint/parser',
|
2022-05-15 14:50:42 +00:00
|
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
2022-05-20 21:37:31 +00:00
|
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
2022-05-15 16:57:20 +00:00
|
|
|
rules: {
|
2022-05-20 21:37:31 +00:00
|
|
|
'prettier/prettier': 'error',
|
2022-07-16 21:47:33 +00:00
|
|
|
'@typescript-eslint/no-unused-vars': [
|
|
|
|
'warn',
|
|
|
|
{
|
|
|
|
argsIgnorePattern: '^_'
|
|
|
|
}
|
|
|
|
],
|
|
|
|
|
2022-05-20 21:37:31 +00:00
|
|
|
'@typescript-eslint/no-var-requires': 'off'
|
2022-05-15 16:57:20 +00:00
|
|
|
}
|
2022-05-15 14:44:12 +00:00
|
|
|
};
|