Skip to content

Commit 1039c9f

Browse files
authored
Build: Migrate from JSHint to ESLint
Closes gh-577
1 parent 81cde96 commit 1039c9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1970
-1423
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
external/**
22
jquery-ui/**
3+
template/**
34
tmp/**
5+
*.min.js

.eslintrc.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"root": true,
3+
4+
"extends": "jquery",
5+
6+
"reportUnusedDisableDirectives": true,
7+
8+
"parserOptions": {
9+
"ecmaVersion": 2018
10+
},
11+
12+
"env": {
13+
"es6": true,
14+
"node": true
15+
},
16+
17+
"rules": {
18+
"strict": [ "error", "global" ],
19+
20+
// Too many violations
21+
"camelcase": "off",
22+
"max-len": "off",
23+
"no-unused-vars": "off"
24+
}
25+
}

.jshintrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)