summaryrefslogtreecommitdiffstats
path: root/web-tools/web/_static/jquery/.eslintrc.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-10-14 14:59:23 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-01-27 07:04:33 +0000
commite7de04494b70ca62ac1abda7f9a3ef41994f4f51 (patch)
tree78a8387bbe7d9204f2c46a3e5128a7e2e58ba322 /web-tools/web/_static/jquery/.eslintrc.json
parentAdding debian packaging. (diff)
downloadnetwork-tools-e7de04494b70ca62ac1abda7f9a3ef41994f4f51.tar.xz
network-tools-e7de04494b70ca62ac1abda7f9a3ef41994f4f51.zip
Adding web-tools (WIP).
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
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"
+ }
+ }
+ ]
+}