summaryrefslogtreecommitdiffstats
path: root/web-tools/web/_static/jquery/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to 'web-tools/web/_static/jquery/.eslintrc.json')
-rw-r--r--web-tools/web/_static/jquery/.eslintrc.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/web-tools/web/_static/jquery/.eslintrc.json b/web-tools/web/_static/jquery/.eslintrc.json
new file mode 100644
index 0000000..a866957
--- /dev/null
+++ b/web-tools/web/_static/jquery/.eslintrc.json
@@ -0,0 +1,34 @@
+{
+ "root": true,
+
+ "parserOptions": {
+ "ecmaVersion": 5,
+ "sourceType": "script"
+ },
+
+ "overrides": [
+ {
+ "files": "jquery.js",
+ "extends": "../.eslintrc-browser.json",
+
+ "rules": {
+ // That is okay for the built version
+ "no-multiple-empty-lines": "off",
+ "one-var": "off",
+
+ // Sizzle is not compatible with jQuery code style
+ "no-nested-ternary": "off",
+ "no-unused-expressions": "off",
+ "no-unused-vars": "off",
+ "lines-around-comment": "off",
+ "space-in-parens": "off",
+ "camelcase": "off",
+ "computed-property-spacing": "off",
+ "max-len": "off",
+ "dot-notation": "off",
+ "semi-spacing": "off",
+ "brace-style": "off"
+ }
+ }
+ ]
+}