Skip to content

Commit 4e5dc0d

Browse files
committed
ci: change gitignore
1 parent 0fd8afb commit 4e5dc0d

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.eslintrc.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"extends": ["prettier"],
3+
"plugins": ["prettier"],
4+
"env": {
5+
"commonjs": true,
6+
"node": true,
7+
"es6": false
8+
},
9+
"globals": {
10+
"Atomics": "readonly",
11+
"SharedArrayBuffer": "readonly"
12+
},
13+
"parserOptions": {
14+
"ecmaVersion": 2018
15+
},
16+
"rules": {
17+
"semi": ["error", "never"],
18+
"func-names": 0,
19+
"no-param-reassign": 0,
20+
"no-multi-str": 0,
21+
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
22+
"no-console": ["error", { "allow": ["tron"] }],
23+
"consistent-return": 0
24+
}
25+
}

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,5 @@ dist
114114
.yarn/build-state.yml
115115
.pnp.*
116116
.editorconfig
117-
/.eslintrc.json
118117
.prettierrc
119118
.DS_Store

0 commit comments

Comments
 (0)