chss/.eslintrc.js

25 lines
571 B
JavaScript
Raw Normal View History

module.exports = {
2022-07-07 09:14:45 +00:00
env: {
browser: true,
es2021: true,
},
2022-07-07 09:14:45 +00:00
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react/jsx-runtime',
],
2022-07-07 09:14:45 +00:00
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
2022-07-07 09:14:45 +00:00
ecmaVersion: 'latest',
sourceType: 'module',
},
2022-07-07 09:14:45 +00:00
plugins: ['react', '@typescript-eslint'],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off',
},
2022-07-07 09:14:45 +00:00
};