Skip to content

Commit 4f99035

Browse files
committed
[FEAT] runs npx eslint --init & set up .eslintrc.json
1 parent ac0b27f commit 4f99035

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.eslintrc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es2021": true
6+
},
7+
"extends": ["airbnb-base", "prettier"],
8+
"parserOptions": {
9+
"ecmaVersion": 12
10+
},
11+
"rules": {
12+
"prettier/prettier": "error",
13+
"no-console": "warn",
14+
"no-plusplus": "off"
15+
},
16+
"plugins": ["prettier"]
17+
}

0 commit comments

Comments
 (0)