Commit 2469fa5ae1b921b28988ecf30d83c75ec97c458e
1 parent
fbadb5e7
Exists in
master
and in
1 other branch
更新配置文件
Showing
4 changed files
with
49 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,21 @@ |
| 1 | +module.exports = { | |
| 2 | + root: true, | |
| 3 | + env: { | |
| 4 | + node: true | |
| 5 | + }, | |
| 6 | + 'extends': [ | |
| 7 | + 'plugin:vue/essential', | |
| 8 | + '@vue/standard' | |
| 9 | + ], | |
| 10 | + rules: { | |
| 11 | + 'semi': 'off', | |
| 12 | + 'quotes': 'off', | |
| 13 | + 'comma-dangle': 'off', | |
| 14 | + 'space-before-function-paren': 'off', | |
| 15 | + 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', | |
| 16 | + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' | |
| 17 | + }, | |
| 18 | + parserOptions: { | |
| 19 | + parser: 'babel-eslint' | |
| 20 | + } | |
| 21 | +} | ... | ... |
| ... | ... | @@ -0,0 +1,21 @@ |
| 1 | +.DS_Store | |
| 2 | +node_modules | |
| 3 | +/dist | |
| 4 | + | |
| 5 | +# local env files | |
| 6 | +.env.local | |
| 7 | +.env.*.local | |
| 8 | + | |
| 9 | +# Log files | |
| 10 | +npm-debug.log* | |
| 11 | +yarn-debug.log* | |
| 12 | +yarn-error.log* | |
| 13 | + | |
| 14 | +# Editor directories and files | |
| 15 | +.idea | |
| 16 | +.vscode | |
| 17 | +*.suo | |
| 18 | +*.ntvs* | |
| 19 | +*.njsproj | |
| 20 | +*.sln | |
| 21 | +*.sw? | ... | ... |