make eslint default linter

This commit is contained in:
2024-01-08 21:26:02 +01:00
parent 4199e99d81
commit a1fa8bea3d
3 changed files with 1 additions and 24 deletions

View File

@@ -1,5 +0,0 @@
{
"preset": "jquery",
// Since we check quotemarks already in jshint, this can be turned off
"validateQuoteMarks": false
}

View File

@@ -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
}

View File

@@ -24,8 +24,7 @@
"scripts": {
"all": "npm run build && npm run test && npm run lint",
"build": "node build.js",
"lint": "npm exec -- jshint src test/*.js && npm exec -- jscs src test/*.js",
"new-lint": "npm exec -- eslint src test",
"lint": "npm exec -- eslint src test",
"test": "npm exec -- karma start --log-level debug --single-run=true"
},
"devDependencies": {