-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc.js
37 lines (36 loc) · 1.01 KB
/
.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
31
32
33
34
35
36
37
'use strict';
module.exports = {
extends: 'airbnb',
parserOptions: {
sourceType: 'module',
},
rules: {
strict: ['error', 'safe'],
indent: ['error', 'tab'],
'react/jsx-indent': [4, 'tab'],
'react/jsx-filename-extension': 0,
'react/jsx-indent-props': 0,
'react/jsx-wrap-multilines': 0,
'implicit-arrow-linebreak': 0,
'react/prop-types': 0,
'react/destructuring-assignment': 0,
'import/prefer-default-export': 0,
'class-methods-use-this': 0,
'react/sort-comp': 0,
'react/no-multi-comp': 0,
'react/jsx-one-expression-per-line': 0,
'no-tabs': 0,
quotes: ['error', 'single', {allowTemplateLiterals: true}],
'comma-dangle': ['error', 'never'],
'arrow-body-style': ['error', 'as-needed'],
'arrow-parens': ['error', 'always'],
camelcase: 0,
'consistent-return': 0,
'max-len': 0,
'no-underscore-dangle': 0,
'jsx-a11y/tabindex-no-positive': 0
},
env: {
browser: true
}
};