actual-server/.eslintrc.js

23 lines
471 B
JavaScript
Raw Permalink Normal View History

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'],
rules: {
2022-05-20 21:37:31 +00:00
'prettier/prettier': 'error',
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_'
}
],
2022-05-20 21:37:31 +00:00
'@typescript-eslint/no-var-requires': 'off'
}
};