secsan/.eslintrc.cjs

27 lines
560 B
JavaScript
Raw Normal View History

module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'eslint:recommended',
'preact',
'plugin:@typescript-eslint/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off',
},
settings: {
jest: { version: 29 }
}
};