mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-02-23 14:59:07 +08:00
Add ESLint rule "indent"
This commit is contained in:
parent
733e694ba0
commit
c3f8044743
@ -38,6 +38,10 @@ rules:
|
||||
prefer-const: warn
|
||||
no-var: error
|
||||
eqeqeq: error
|
||||
indent:
|
||||
- error
|
||||
- 4
|
||||
- SwitchCase: 1
|
||||
vue/html-closing-bracket-newline:
|
||||
- error
|
||||
- singleline: never
|
||||
|
@ -129,7 +129,7 @@ const config = {
|
||||
minimizer: [
|
||||
new UglifyJsWebpackPlugin({
|
||||
parallel: true,
|
||||
cache: true,
|
||||
cache: true,
|
||||
sourceMap: false,
|
||||
extractComments: {
|
||||
filename: 'LICENSES'
|
||||
@ -139,7 +139,7 @@ const config = {
|
||||
comments: /^\**!|@preserve|@license|@cc_on/
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
]
|
||||
},
|
||||
resolve: {
|
||||
|
Loading…
Reference in New Issue
Block a user