Convert spec/javascripts/.eslintrc to yml format as well
This commit is contained in:
parent
6e1a7902f4
commit
e9c5e57b59
2 changed files with 34 additions and 33 deletions
|
@ -1,33 +0,0 @@
|
|||
{
|
||||
"env": {
|
||||
"jasmine": true
|
||||
},
|
||||
"extends": "plugin:jasmine/recommended",
|
||||
"globals": {
|
||||
"appendLoadFixtures": false,
|
||||
"appendLoadStyleFixtures": false,
|
||||
"appendSetFixtures": false,
|
||||
"appendSetStyleFixtures": false,
|
||||
"getJSONFixture": false,
|
||||
"loadFixtures": false,
|
||||
"loadJSONFixtures": false,
|
||||
"loadStyleFixtures": false,
|
||||
"preloadFixtures": false,
|
||||
"preloadStyleFixtures": false,
|
||||
"readFixtures": false,
|
||||
"sandbox": false,
|
||||
"setFixtures": false,
|
||||
"setStyleFixtures": false,
|
||||
"spyOnDependency": false,
|
||||
"spyOnEvent": false,
|
||||
"ClassSpecHelper": false
|
||||
},
|
||||
"plugins": ["jasmine"],
|
||||
"rules": {
|
||||
"func-names": 0,
|
||||
"jasmine/no-suite-dupes": [1, "branch"],
|
||||
"jasmine/no-spec-dupes": [1, "branch"],
|
||||
"no-console": 0,
|
||||
"prefer-arrow-callback": 0
|
||||
}
|
||||
}
|
34
spec/javascripts/.eslintrc.yml
Normal file
34
spec/javascripts/.eslintrc.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
env:
|
||||
jasmine: true
|
||||
extends: plugin:jasmine/recommended
|
||||
globals:
|
||||
appendLoadFixtures: false
|
||||
appendLoadStyleFixtures: false
|
||||
appendSetFixtures: false
|
||||
appendSetStyleFixtures: false
|
||||
getJSONFixture: false
|
||||
loadFixtures: false
|
||||
loadJSONFixtures: false
|
||||
loadStyleFixtures: false
|
||||
preloadFixtures: false
|
||||
preloadStyleFixtures: false
|
||||
readFixtures: false
|
||||
sandbox: false
|
||||
setFixtures: false
|
||||
setStyleFixtures: false
|
||||
spyOnDependency: false
|
||||
spyOnEvent: false
|
||||
ClassSpecHelper: false
|
||||
plugins:
|
||||
- jasmine
|
||||
rules:
|
||||
func-names: off
|
||||
jasmine/no-suite-dupes:
|
||||
- warn
|
||||
- branch
|
||||
jasmine/no-spec-dupes:
|
||||
- warn
|
||||
- branch
|
||||
no-console: off
|
||||
prefer-arrow-callback: off
|
Loading…
Reference in a new issue