harmony/.eslintrc.js
2021-03-26 21:54:15 +09:00

23 lines
499 B
JavaScript

module.exports = {
env: {
es2021: true,
node: true
},
extends: [
'standard-with-typescript',
'prettier',
'prettier/@typescript-eslint',
'prettier/standard'
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
project: 'tsconfig.json'
},
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/no-non-null-assertion': 'off'
}
}