forked from proxyee-down-org/proxyee-down
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
14,890 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
target/ | ||
.DS_Store | ||
|
||
target/ | ||
log/ | ||
!.mvn/wrapper/maven-wrapper.jar | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
'node': true | ||
}, | ||
'extends': [ | ||
'plugin:vue/essential', | ||
'@vue/prettier' | ||
], | ||
rules: { | ||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
"no-alert": process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
// 禁止给const变量赋值 | ||
"no-const-assign": 'error', | ||
//不能对var声明的变量使用delete操作符 | ||
"no-delete-var": 'error', | ||
//在创建对象字面量时不允许键重复 {a:1,a:1} | ||
"no-dupe-keys": 'error', | ||
//函数参数不能重复 | ||
"no-dupe-args": 'error', | ||
//禁止使用eval | ||
"no-eval": 'error', | ||
//禁止使用隐式eval | ||
"no-implied-eval": 'error', | ||
//禁止不必要的分号 | ||
'no-extra-semi': 'error', | ||
//switch中的case标签不能重复 | ||
"no-duplicate-case": 'error', | ||
// 禁止 for 循环出现方向错误的循环,比如 for (i = 0; i < 10; i--) | ||
'for-direction': 'error', | ||
//禁止混用tab和空格 | ||
"no-mixed-spaces-and-tabs": [2, false], | ||
// 禁止将常量作为 if, for, while 里的测试条件,比如 if (true), for (;;),除非循环内部有 break 语句 | ||
'no-constant-condition': [ | ||
'error', | ||
{ | ||
checkLoops: false | ||
} | ||
] | ||
}, | ||
parserOptions: { | ||
'parser': 'babel-eslint', | ||
'impliedStrict': false, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
# nodejs files | ||
node_modules/ | ||
package-lock.json | ||
dist/ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
plugins: { | ||
autoprefixer: {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: ["@vue/app"] | ||
}; |
Oops, something went wrong.