Skip to content

Commit 0a23c18

Browse files
committed
setup husky
1 parent a6e243f commit 0a23c18

File tree

6 files changed

+979
-100
lines changed

6 files changed

+979
-100
lines changed

.eslintrc.json

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"es6": true
5-
},
6-
"plugins": [],
7-
"extends": ["airbnb-base", "prettier"],
8-
"globals": {
9-
"Atomics": "readonly",
10-
"SharedArrayBuffer": "readonly"
11-
},
12-
"parserOptions": {
13-
"ecmaVersion": 2018,
14-
"sourceType": "module"
15-
},
16-
"rules": {
17-
"no-unused-vars": [
18-
"error",
19-
{
20-
"vars": "local",
21-
"args": "none"
22-
}
23-
],
24-
"indent": ["error", "tab"],
25-
"linebreak-style": ["error", "unix"],
26-
"quotes": ["error", "single"],
27-
"semi": ["error", "never"]
28-
}
2+
"env": {
3+
"browser": true,
4+
"es6": true
5+
},
6+
"plugins": [],
7+
"extends": ["airbnb-base", "prettier"],
8+
"globals": {
9+
"Atomics": "readonly",
10+
"SharedArrayBuffer": "readonly"
11+
},
12+
"parserOptions": {
13+
"ecmaVersion": 2018,
14+
"sourceType": "module"
15+
},
16+
"rules": {
17+
"no-unused-vars": [
18+
"error",
19+
{
20+
"vars": "local",
21+
"args": "none"
22+
}
23+
],
24+
"indent": ["error", "tab"],
25+
"linebreak-style": ["error", "unix"],
26+
"quotes": ["error", "single"],
27+
"semi": ["error", "never"]
28+
}
2929
}

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
log
2+
docs
3+
node_modules

.prettierrc

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"printWidth": 80,
3-
"tabWidth": 2,
4-
"useTabs": false,
5-
"semi": true,
6-
"singleQuote": true,
7-
"trailingComma": "all",
8-
"bracketSpacing": false,
9-
"jsxBracketSameLine": false,
10-
"proseWrap": "always"
2+
"printWidth": 80,
3+
"tabWidth": 4,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": true,
7+
"trailingComma": "all",
8+
"bracketSpacing": false,
9+
"jsxBracketSameLine": false,
10+
"proseWrap": "always"
1111
}

docs/notes.md

-8
This file was deleted.

0 commit comments

Comments
 (0)