-
Notifications
You must be signed in to change notification settings - Fork 558
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added `.editorconfig` * Removed `jshint` and replaced with `eslint` * Added `.eslintrc` * Removed `uglify` and task to create minified version of jScroll source since this can be done on the user end, and it will also prevent conflicts in PRs * Removed `jquery.jscroll.min.js`
- Loading branch information
1 parent
4232f01
commit fe3e5f2
Showing
7 changed files
with
151 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
{ | ||
"env": { | ||
"browser": true | ||
}, | ||
"globals": { | ||
"jQuery": true | ||
}, | ||
"rules": { | ||
"curly": [ | ||
2, | ||
"all" | ||
], | ||
"eqeqeq": 2, | ||
"no-eq-null": 2, | ||
"guard-for-in": 2, | ||
"no-unused-vars": [ | ||
2, | ||
{ | ||
"args": "none" | ||
} | ||
], | ||
"strict": [ | ||
2, | ||
"safe" | ||
], | ||
"no-use-before-define": [ | ||
2, | ||
{ | ||
"functions": false, | ||
"variables": false | ||
} | ||
], | ||
"operator-linebreak": [ | ||
2, | ||
"after" | ||
], | ||
"max-len": [ | ||
2, | ||
{ | ||
"code": 200, | ||
"tabWidth": 4, | ||
"ignoreComments": true | ||
} | ||
], | ||
"indent": [ | ||
2, | ||
4, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"quotes": [ | ||
2, | ||
"single" | ||
], | ||
"no-multi-str": 2, | ||
"no-mixed-spaces-and-tabs": 2, | ||
"no-trailing-spaces": 2, | ||
"space-unary-ops": [ | ||
2, | ||
{ | ||
"nonwords": false, | ||
"overrides": {} | ||
} | ||
], | ||
"brace-style": [ | ||
2, | ||
"1tbs", | ||
{ | ||
"allowSingleLine": true | ||
} | ||
], | ||
"comma-spacing": [ | ||
2, | ||
{ | ||
"before": false, | ||
"after": true | ||
} | ||
], | ||
"comma-dangle": [ | ||
2, | ||
"never" | ||
], | ||
"comma-style": [ | ||
"error", | ||
"last" | ||
], | ||
"keyword-spacing": [ | ||
2, | ||
{} | ||
], | ||
"space-infix-ops": 2, | ||
"space-before-blocks": [ | ||
2, | ||
"always" | ||
], | ||
"space-before-function-paren": [ | ||
2, | ||
{ | ||
"anonymous": "ignore", | ||
"named": "never" | ||
} | ||
], | ||
"array-bracket-spacing": [ | ||
2, | ||
"never" | ||
], | ||
"space-in-parens": [ | ||
2, | ||
"never" | ||
], | ||
"no-multiple-empty-lines": 2, | ||
"no-with": 2, | ||
"no-spaced-func": 2, | ||
"key-spacing": [ | ||
2, | ||
{ | ||
"beforeColon": false, | ||
"afterColon": true | ||
} | ||
], | ||
"dot-notation": 2, | ||
"semi": [ | ||
2, | ||
"always" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
.idea/ | ||
.project | ||
.settings/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters