Build: Switch from jscs+jshint to eslint

This commit is contained in:
Oleg Gaidarenko
2016-05-10 12:06:37 +03:00
parent 019c8f1f41
commit f80ae67c53
14 changed files with 261 additions and 160 deletions

15
src/.eslintrc Normal file
View File

@@ -0,0 +1,15 @@
{
"env": {
"browser"
},
"extends": "../.eslintrc",
"root": true,
"globals": {
"window": true,
"JSON": false,
"jQuery": true,
"define": true,
"module": true,
"noGlobal": true
}
}

View File

@@ -1,30 +0,0 @@
{
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"expr": true,
"immed": true,
"noarg": true,
"quotmark": "double",
"strict": true,
"undef": true,
"unused": true,
"sub": true,
// Support: IE <=9 only, Android <=4.0 only
// The above browsers are failing a lot of tests in the ES5
// test suite at http://test262.ecmascript.org.
"es3": true,
"globals": {
"window": true,
"JSON": false,
"jQuery": true,
"define": true,
"module": true,
"noGlobal": true
}
}