boxons/.eslintrc.js

27 lines
557 B
JavaScript
Raw Permalink Normal View History

2024-10-13 11:29:36 +00:00
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ['plugin:react/recommended'],
parser: '@typescript-eslint/parser',
root: true,
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['react-native', 'jest', 'simple-import-sort', '@typescript-eslint'],
rules: {
"@typescript-eslint/method-signature-style": [
"error",
"property"
],
'react/react-in-jsx-scope': 'off',
'react/no-unescaped-entities': 'off',
},
};