mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-08 06:04:35 +08:00
Update HoundCI config (#6687)
This commit is contained in:
parent
58aa0f096d
commit
940ff553c0
3 changed files with 16 additions and 26 deletions
|
@ -21,6 +21,20 @@
|
|||
{
|
||||
"beforeLineComment": false
|
||||
}
|
||||
],
|
||||
"max-len": [
|
||||
"error",
|
||||
{
|
||||
"code": 120
|
||||
}
|
||||
],
|
||||
"vue/max-len": [
|
||||
"error",
|
||||
{
|
||||
"code": 120,
|
||||
"template": 240,
|
||||
"tabWidth": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"globals": {
|
|
@ -4,7 +4,8 @@ ruby:
|
|||
|
||||
eslint:
|
||||
enabled: true
|
||||
config_file: app/assets/.eslintrc.json
|
||||
version: 8.1.0
|
||||
config_file: .eslintrc.json
|
||||
|
||||
scss:
|
||||
config_file: .scss-lint.yml
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"jquery": true
|
||||
},
|
||||
"extends": ["airbnb"],
|
||||
"rules": {
|
||||
"space-before-function-paren": ["error", "never"],
|
||||
"func-names": ["error", "never"],
|
||||
"spaced-comment": [
|
||||
"error",
|
||||
"always",
|
||||
{
|
||||
"markers": ["="]
|
||||
}
|
||||
],
|
||||
"lines-around-comment": [
|
||||
"warn",
|
||||
{
|
||||
"beforeLineComment": false
|
||||
}
|
||||
],
|
||||
"max-len": ["error", { "code": 120 }]
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue