2022-06-27 09:31:21 -04:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2021: true,
|
|
|
|
},
|
|
|
|
extends: [
|
2022-06-27 12:00:15 -04:00
|
|
|
'react-app',
|
|
|
|
'react-app/jest',
|
|
|
|
'plugin:react/recommended',
|
|
|
|
'airbnb',
|
|
|
|
'plugin:jest/recommended',
|
|
|
|
'plugin:prettier/recommended',
|
2022-06-27 09:31:21 -04:00
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
ecmaFeatures: {
|
|
|
|
jsx: true,
|
|
|
|
},
|
2022-06-27 12:00:15 -04:00
|
|
|
ecmaVersion: 'latest',
|
|
|
|
sourceType: 'module',
|
|
|
|
},
|
|
|
|
plugins: ['react'],
|
|
|
|
rules: {
|
2022-06-27 12:29:14 -04:00
|
|
|
'jest/expect-expect': 'off',
|
2022-06-27 12:00:15 -04:00
|
|
|
'react/jsx-no-bind': 'off',
|
|
|
|
'jsx-a11y/no-autofocus': 'off',
|
|
|
|
'jsx-a11y/label-has-associated-control': 'off',
|
|
|
|
'no-console': 'off',
|
|
|
|
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
|
|
|
|
'react/react-in-jsx-scope': 'off',
|
2022-06-27 09:31:21 -04:00
|
|
|
},
|
|
|
|
};
|