Fix GIS editor form layout
[phpmyadmin.git] / .eslintrc.json
blob46b6bd9141d05cbf0a200e10abb00d3f6aa5e860
2     "extends": [
3         "eslint:recommended",
4         "plugin:no-jquery/deprecated",
5         "plugin:compat/recommended"
6     ],
7     "plugins": ["no-jquery"],
8     "env": {
9         "browser": true,
10         "es6": true,
11         "jquery": true
12     },
13     "globals": {
14         "AJAX": "readonly",
15         "bootstrap": "readonly",
16         "CodeMirror": "readonly",
17         "CommonActions": "readonly",
18         "CommonParams": "readonly",
19         "Cookies": "readonly",
20         "Functions": "readonly",
21         "Messages": "readonly",
22         "Navigation": "readonly",
23         "OpenLayers": "readonly",
24         "Sql": "readonly"
25     },
26     "rules": {
27         "valid-jsdoc": ["error", {
28             "prefer": {
29                 "returns": "return"
30             },
31             "requireReturn": false,
32             "requireParamType": false,
33             "requireReturnDescription": false,
34             "requireParamDescription": false
35         }],
36         "array-bracket-spacing": "error",
37         "brace-style": "error",
38         "camelcase": "error",
39         "comma-style": ["error", "last"],
40         "curly": "error",
41         "dot-notation": "error",
42         "eol-last": "error",
43         "eqeqeq": "error",
44         "indent": ["error", 4],
45         "keyword-spacing": "error",
46         "new-cap": "error",
47         "no-array-constructor": "error",
48         "no-eval": "error",
49         "no-loop-func": "error",
50         "no-multiple-empty-lines": "error",
51         "no-new-func": "error",
52         "no-new-object": "error",
53         "no-param-reassign": "error",
54         "no-prototype-builtins": "off",
55         "no-redeclare": ["error", { "builtinGlobals": false }],
56         "no-trailing-spaces": "error",
57         "no-underscore-dangle": "error",
58         "no-unneeded-ternary": "error",
59         "object-curly-spacing": ["error", "always"],
60         "one-var": ["error", "never"],
61         "padded-blocks": ["error", "never"],
62         "quotes": ["error", "single"],
63         "semi": "error",
64         "space-before-blocks": "error",
65         "space-before-function-paren": "error",
66         "space-in-parens": "error",
67         "space-infix-ops": "error",
68         "spaced-comment": ["error", "always"],
69         "wrap-iife": "error"
70     }