{ "plugins": [ "@stylistic/js" ], "env": { "browser": true, "jquery": true }, "globals": { "fluid": true }, "rules": { "block-scoped-var": "error", "@stylistic/js/comma-dangle": [ "error", "never" ], "@stylistic/js/comma-style": [ "error", "last" ], "curly": [ "error", "all" ], "@stylistic/js/eol-last": "error", "eqeqeq": [ "error", "allow-null" ], "@stylistic/js/indent": [ "error", 4 ], "@stylistic/js/keyword-spacing": "error", "@stylistic/js/linebreak-style": ["error", "unix"], "new-cap": [ "error", { "properties": false } ], "no-caller": "error", "no-cond-assign": [ "error", "except-parens" ], "no-console": "error", "no-debugger": "error", "no-empty": [ "error", { "allowEmptyCatch": true } ], "no-eval": "error", "no-extend-native": "error", "no-irregular-whitespace": "error", "no-iterator": "error", "no-loop-func": "error", "no-multi-str": "error", "no-new": "error", "no-new-wrappers": "error", "no-proto": "error", "no-redeclare": "error", "no-script-url": "error", "no-sequences": "error", "@stylistic/js/no-trailing-spaces": "error", "no-undef": "error", "no-unused-vars": "error", "no-with": "error", "@stylistic/js/quotes": [ "error", "double" ], "@stylistic/js/semi": [ "error", "always" ], "@stylistic/js/space-before-blocks": [ "error", "always" ], "@stylistic/js/space-before-function-paren": [ "error", { "anonymous": "always", "named": "never" } ], "@stylistic/js/space-infix-ops": "error", "@stylistic/js/space-unary-ops": [ "error", { "words": true, "nonwords": false, "overrides": { "typeof": false } } ], "strict": [ "error", "safe" ], "valid-typeof": "error", "wrap-iife": [ "error", "inside" ] } }