guanqb
2024-01-20 9d020d77c31b31e943206c877b07326194b5329c
配置文件
3 files added
33406 ■■■■■ changed files
.eslintrc.js 28 ●●●●● patch | view | raw | blame | history
.gitignore 26 ●●●●● patch | view | raw | blame | history
package-lock.json 33352 ●●●●● patch | view | raw | blame | history
.eslintrc.js
New file
@@ -0,0 +1,28 @@
/*
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-09-07 09:34:58
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2022-09-20 14:35:16
 * @FilePath: \srs-police-affairs\.eslintrc.js
 * @Description:
 *
 * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved.
 */
module.exports = {
    root: true,
    env: {
        node: true
    },
    'extends': [
        'plugin:vue/essential',
        'eslint:recommended'
    ],
    parserOptions: {
        parser: 'babel-eslint'
    },
    rules: {
        'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
        'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
        "no-unused-vars": "off"
    }
}
.gitignore
New file
@@ -0,0 +1,26 @@
.DS_Store
node_modules
/dist
/dist.zip
/public/sd
/public/sryx
/public/mx
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
package-lock.json
New file
Diff too large