UNPKG

syms

Version:

Automatic/Convenience/Syntactic-Sugar Symbol.for() access: `const {WHATEVER,Vars,youWant} = require("syms")`

75 lines (69 loc) 2.32 kB
{ "root": true, "parserOptions": { "ecmaVersion": 2018 }, "plugins": [ "prettier", "unicorn", "promise" ], "rules": { "no-debugger": ["error"], "no-regex-spaces": ["error"], "no-unsafe-negation": ["error"], "curly": ["error", "multi-or-nest", "consistent"], "dot-location": ["error", "property"], "dot-notation": ["error"], "eqeqeq": ["error", "smart"], "no-else-return": ["error"], "no-extra-bind": ["error"], "no-extra-label": ["error"], "no-floating-decimal": ["error"], "no-implicit-coercion": ["error", { "allow": ["!!"] }], "wrap-iife": ["error", "inside"], "strict": ["error", "global"], "eol-last": ["error", "always"], "func-call-spacing": ["error", "never"], "comma-style": ["error", "last"], "comma-dangle": ["error", { "arrays": "always-multiline", "objects": "always-multiline", "imports": "always-multiline", "exports": "always-multiline", "functions": "ignore" }], "keyword-spacing": ["error"], "linebreak-style": ["error", "unix"], "new-parens": ["error"], "no-lonely-if": ["error"], "no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1 }], "no-trailing-spaces": ["error", { "ignoreComments": true }], "no-whitespace-before-property": ["error"], "semi": ["error", "always"], "template-tag-spacing": ["error", "never"], "arrow-body-style": ["error", "as-needed"], "arrow-parens": ["error", "as-needed"], "arrow-spacing": ["error"], "no-useless-computed-key": ["error"], "no-useless-rename": ["error"], "no-var": ["error"], "prefer-spread": ["error"], "prefer-template": ["error"], "prefer-const": ["warn", {"destructuring": "all"}], "no-unreachable": ["warn"], "no-unused-vars": ["warn", {"args": "none"}], "rest-spread-spacing": ["error", "never"], "prettier/prettier": ["warn", { "printWidth": 100, "trailingComma": "es5" }], "unicorn/filename-case": ["warn", {"case": "kebabCase"}], "unicorn/throw-new-error": ["error"], "unicorn/no-array-instanceof": ["error"], "unicorn/no-new-buffer": ["error"], "unicorn/no-hex-escape": ["error"], "unicorn/prefer-starts-ends-with": ["warn"], "promise/catch-or-return": ["error"] } }