make eslint default linter
This commit is contained in:
5
.jscsrc
5
.jscsrc
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"preset": "jquery",
|
|
||||||
// Since we check quotemarks already in jshint, this can be turned off
|
|
||||||
"validateQuoteMarks": false
|
|
||||||
}
|
|
||||||
17
.jshintrc
17
.jshintrc
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"globals": {
|
|
||||||
"module": true
|
|
||||||
},
|
|
||||||
"boss": true,
|
|
||||||
"browser": true,
|
|
||||||
"curly": true,
|
|
||||||
"esversion": 6,
|
|
||||||
"eqeqeq": true,
|
|
||||||
"eqnull": true,
|
|
||||||
"expr": true,
|
|
||||||
"immed": true,
|
|
||||||
"noarg": true,
|
|
||||||
"quotmark": "double",
|
|
||||||
"undef": true,
|
|
||||||
"unused": true
|
|
||||||
}
|
|
||||||
@@ -24,8 +24,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"all": "npm run build && npm run test && npm run lint",
|
"all": "npm run build && npm run test && npm run lint",
|
||||||
"build": "node build.js",
|
"build": "node build.js",
|
||||||
"lint": "npm exec -- jshint src test/*.js && npm exec -- jscs src test/*.js",
|
"lint": "npm exec -- eslint src test",
|
||||||
"new-lint": "npm exec -- eslint src test",
|
|
||||||
"test": "npm exec -- karma start --log-level debug --single-run=true"
|
"test": "npm exec -- karma start --log-level debug --single-run=true"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user