Improve create-release script to handle QA branches higher than QA_4_8.
[phpmyadmin.git] / .eslintrc.json
blob203ca88bc728b94911cb7c6c7e2c0ad100f390c6
2     "env": {
3         "browser": true,
4         "jquery": true
5     },
6     "globals": {
7         "AJAX": "readonly",
8         "CodeMirror": "readonly",
9         "CommonActions": "readonly",
10         "CommonParams": "readonly",
11         "Cookies": "readonly",
12         "Functions": "readonly",
13         "Messages": "readonly",
14         "Navigation": "readonly",
15         "OpenLayers": "readonly",
16         "Sql": "readonly"
17     },
18     "rules": {
19         "array-bracket-spacing": "error",
20         "brace-style": "error",
21         "camelcase": "error",
22         "comma-style": ["error", "last"],
23         "curly": "error",
24         "dot-notation": "error",
25         "eol-last": "error",
26         "eqeqeq": "error",
27         "indent": ["error", 4],
28         "keyword-spacing": "error",
29         "new-cap": "error",
30         "no-array-constructor": "error",
31         "no-eval": "error",
32         "no-loop-func": "error",
33         "no-mixed-spaces-and-tabs": "error",
34         "no-multiple-empty-lines": "error",
35         "no-new-func": "error",
36         "no-new-object": "error",
37         "no-param-reassign": "error",
38         "no-trailing-spaces": "error",
39         "no-undef": "warn",
40         "no-underscore-dangle": "error",
41         "no-unneeded-ternary": "error",
42         "no-unreachable": "error",
43         "no-unsafe-negation": "error",
44         "no-useless-escape": "error",
45         "object-curly-spacing": ["error", "always"],
46         "one-var": ["error", "never"],
47         "padded-blocks": ["error", "never"],
48         "quotes": ["error", "single"],
49         "semi": "error",
50         "space-before-blocks": "error",
51         "space-before-function-paren": "error",
52         "space-in-parens": "error",
53         "space-infix-ops": "error",
54         "spaced-comment": ["error", "always"],
55         "wrap-iife": "error"
56     }