forked from ethanselzer/react-cursor-position
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
24 lines (24 loc) · 817 Bytes
/
.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
{
// https://github.com/facebookincubator/create-react-app/blob/master/packages/eslint-config-react-app/index.js
"extends": "react-app",
// http://eslint.org/docs/rules/
"rules": {
"import/default": "error",
"import/export": "error",
"import/named": "error",
"import/namespace": "error",
"import/no-amd": "error",
"import/no-duplicates": "error",
"import/no-extraneous-dependencies": "error",
"import/no-named-as-default": "error",
"import/no-named-as-default-member": "error",
"import/no-unresolved": ["error", { "commonjs": true }],
"indent": ["error", 4, { "SwitchCase": 1 }],
"jsx-a11y/href-no-hash": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}