eslint-config/packages/eslint-config-react/index.js
2023-03-24 10:01:44 +01:00

20 lines
322 B
JavaScript

module.exports = {
extends: [
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'@antfu/eslint-config-ts',
],
settings: {
react: {
version: '17.0',
},
},
rules: {
'jsx-quotes': [
'error',
'prefer-double',
],
'react/react-in-jsx-scope': 'off',
},
}