Skip to content

Commit c30c6d5

Browse files
committed
add eslint and semistandart
1 parent 57568ff commit c30c6d5

10 files changed

+6466
-369
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
node_modules/

.eslintrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "semistandard",
3+
"env": {
4+
"browser": true
5+
}
6+
}

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
.cache/
3-
.idea/
3+
.idea/
4+
*.log

.vscode/settings.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"standard.semistandard": true,
3+
"standard.usePackageJson": true,
4+
"standard.autoFixOnSave": true,
5+
"javascript.validate.enable": false,
6+
"eslint.autoFixOnSave": true
7+
}

0 commit comments

Comments
 (0)