Skip to content

Commit 78482c9

Browse files
eslintrc added with rules, from airbnb style guide
1 parent fdba68b commit 78482c9

File tree

4 files changed

+12312
-2
lines changed

4 files changed

+12312
-2
lines changed

.eslintrc

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"extends": ["airbnb", "prettier", "prettier/react"],
3+
"plugins": ["prettier"],
4+
"rules": {
5+
"react/jsx-filename-extension": [
6+
1,
7+
{
8+
"extensions": [".js", ".jsx"]
9+
}
10+
],
11+
"react/prop-types": 0,
12+
"no-underscore-dangle": 0,
13+
"import/imports-first": ["error", "absolute-first"],
14+
"import/newline-after-import": "error"
15+
},
16+
"globals": {
17+
"window": true,
18+
"document": true,
19+
"localStorage": true,
20+
"FormData": true,
21+
"FileReader": true,
22+
"Blob": true,
23+
"navigator": true
24+
}
25+
}

0 commit comments

Comments
 (0)