Skip to content

Commit 16a95d2

Browse files
Configure ESLint and fix all linter issues
1 parent e1512fe commit 16a95d2

File tree

6 files changed

+2719
-1790
lines changed

6 files changed

+2719
-1790
lines changed

Diff for: .eslintrc.js

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
/* global module */
3+
module.exports = {
4+
"env": {
5+
"browser": true,
6+
"jquery": true
7+
},
8+
"extends": "eslint:recommended",
9+
"parserOptions": {
10+
"ecmaVersion": 5
11+
},
12+
"rules": {
13+
"indent": [
14+
"error",
15+
4
16+
],
17+
"linebreak-style": [
18+
"error",
19+
"unix"
20+
],
21+
"quotes": [
22+
"error",
23+
"double"
24+
],
25+
"semi": [
26+
"error",
27+
"always"
28+
]
29+
}
30+
};

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.DS_Store
2+
node_modules

0 commit comments

Comments
 (0)