forked from rosslh/IsEarthStillWarming.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
30 lines (30 loc) · 771 Bytes
/
.eslintrc.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
module.exports = {
extends: ['react-tools', 'airbnb'],
plugins: ['cypress', 'react'],
env: {
'cypress/globals': true
},
rules: {
'jsx-a11y/anchor-is-valid': [
'error',
{
components: ['Link'],
specialLink: ['to']
}
],
'react/jsx-curly-brace-presence': 0,
'no-restricted-globals': 0,
indent: ['error', 2],
quotes: ['error', 'backtick'],
'import/no-extraneous-dependencies': 0,
'react/prop-types': 2,
'react/forbid-prop-types': 0,
'react/require-default-props': 0,
'react/jsx-filename-extension': 0,
'react/destructuring-assignment': 1,
'react/jsx-props-no-spreading': 1,
'react/no-unescaped-entities': 1,
'class-methods-use-this': 0,
'global-require': 0
}
};