22 lines
471 B
JavaScript
22 lines
471 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
amd: true,
|
|
node: true
|
|
},
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
|
rules: {
|
|
'prettier/prettier': 'error',
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'warn',
|
|
{
|
|
argsIgnorePattern: '^_'
|
|
}
|
|
],
|
|
|
|
'@typescript-eslint/no-var-requires': 'off'
|
|
}
|
|
};
|