secsan/.eslintrc.cjs

27 lines
562 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: {
2022-11-10 14:58:38 +00:00
jest: { version: 29 },
},
};