This repository has been archived by the owner on Jun 21, 2022. It is now read-only.
forked from ariabuckles/simple-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
78 lines (78 loc) · 2.11 KB
/
.eslintrc
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"extends": [
"plugin:flowtype/recommended",
"airbnb"
],
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false
},
"plugins": [
"flowtype",
"prefer-object-spread",
"class-property"
],
"rules": {
"react/prefer-stateless-function": 1,
"react/sort-comp": [1, {
order: [
'/^props$/',
'/^state$/',
'type-annotations',
'static-methods',
'getters',
'lifecycle',
'/^on.+$/',
'/^handle.+$/',
'render',
'everything-else'
]
}],
"react/prop-types": [0],
"react/jsx-closing-bracket-location": [1, {
"nonEmpty": "after-props",
"selfClosing": "tag-aligned"
}],
"react/jsx-no-bind": [1, {
"ignoreRefs": false,
"allowArrowFunctions": false,
"allowBind": false
}],
"react/jsx-first-prop-new-line": [1, "multiline-multiprop"],
"camelcase": 1,
"prefer-object-spread/prefer-object-spread": 2,
"no-use-before-define": 1,
"no-underscore-dangle": 1,
"import/no-unresolved": [2, { "ignore": ["react"] }],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"new-cap": 1,
"jsx-a11y/anchor-has-content": 0,
"jsx-a11y/aria-role": 0,
"jsx-a11y/aria-props": 0,
"jsx-a11y/aria-proptypes": 0,
"jsx-a11y/aria-unsupported-elements": 0,
"jsx-a11y/href-no-hash": 0,
"jsx-a11y/img-redundant-alt": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/no-access-key": 0,
"jsx-a11y/role-has-required-aria-props": 0,
"jsx-a11y/role-supports-aria-props": 0,
"jsx-a11y/tabindex-no-positive": 0,
"jsx-a11y/heading-has-content": 0,
"jsx-a11y/html-has-lang": 0,
"jsx-a11y/lang": 0,
"jsx-a11y/no-distracting-elements": 0,
"jsx-a11y/scope": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/accessible-emoji": 0,
"jsx-a11y/aria-activedescendant-has-tabindex": 0,
"jsx-a11y/iframe-has-title": 0,
"jsx-a11y/no-autofocus": 0,
"jsx-a11y/no-redundant-roles": 0
}
}