-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
38 lines (37 loc) · 769 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
require('@rushstack/eslint-patch/modern-module-resolution');
module.exports = {
root: true,
env: {
browser: true,
node: true,
commonjs: true,
es6: true,
jquery: true,
jest: true,
},
settings: {
react: {
version: 'detect',
},
},
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:jsx-a11y/recommended',
'plugin:import/recommended',
'airbnb',
'./rules/base.rules',
'stylelint',
'prettier',
'plugin:prettier/recommended',
],
plugins: ['html', 'prettier', 'react', 'react-hooks', 'simple-import-sort'],
ignorePatterns: ['node_modules/'],
};