Skip to content

Commit 47b7158

Browse files
authored
Merge pull request #108 from xsnippet/standardjs
eslint: move from airbnb to standardjs
2 parents b9b1e06 + 7d25b7f commit 47b7158

32 files changed

+4107
-4395
lines changed

.eslintrc.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
{
2-
"extends": "airbnb",
2+
"extends": ["standard", "standard-jsx"],
33
"env": {
44
"browser": true,
5-
"jest/globals": true
5+
"jest": true
66
},
77
"rules": {
8-
"jsx-a11y/anchor-is-valid": ["error", {
9-
"components": ["Link"],
10-
"specialLink": ["to"]
8+
"comma-dangle": ["error", "always-multiline"],
9+
"space-before-function-paren": ["error", {
10+
"anonymous": "always",
11+
"asyncArrow": "always",
12+
"named": "never"
1113
}],
12-
"react/prop-types": [0],
13-
"jsx-a11y/click-events-have-key-events": [0],
14-
"quote-props": ["error", "consistent"],
15-
"import/no-named-as-default": [0]
16-
},
17-
"plugins": ["jest"]
14+
"jsx-quotes": ["error", "prefer-double"]
15+
}
1816
}

0 commit comments

Comments
 (0)