anchor-js
Version: 
A tiny javscript utility for adding anchor links to existing page content.
69 lines (67 loc) • 2.17 kB
Plain Text
{
    "env": {
        "browser": true
    },
    "rules": {
        "block-scoped-var": 2,
        "brace-style": [2, "1tbs"],
        "camelcase": 2,
        "comma-spacing": [2, {"before": false, "after": true}],
        "comma-style": [2, "last"],
        "consistent-this": [2, "self"],
        "curly": 2,
        "eol-last": 2,
        "eqeqeq": 2,
        "guard-for-in": 2,
        "handle-callback-err": 2,
        "key-spacing": [2, {"beforeColon": false, "afterColon": true}],
        "new-cap": 2,
        "new-parens": 2,
        "no-array-constructor": 2,
        "no-bitwise": 2,
        "no-constant-condition": 2,
        "no-else-return": 2,
        "no-eq-null": 2,
        "no-extra-parens": 2,
        "no-extra-semi": 2,
        "no-floating-decimal": 2,
        "no-inline-comments": 2,
        "no-invalid-regexp": 2,
        "no-irregular-whitespace": 2,
        "no-lonely-if": 2,
        "no-mixed-requires": 2,
        "no-mixed-spaces-and-tabs": 2,
        "no-multiple-empty-lines": 2,
        "no-multi-spaces": 2,
        "no-negated-in-lhs": 2,
        "no-new-object": 2,
        "no-path-concat": 2,
        "no-process-env": 2,
        "no-regex-spaces": 2,
        "no-reserved-keys": 2,
        "no-self-compare": 2,
        "no-sequences": 2,
        "no-space-before-semi": 2,
        "no-spaced-func": 2,
        "no-trailing-spaces": 2,
        "no-underscore-dangle": 2,
        "no-unused-vars": 0, // we should find a way to only exclude addAnchors and enable this
        "no-void": 2,
        "operator-assignment": [2, "always"],
        "quotes": [2, "single"],
        "radix": 2,
        "semi": [2, "always"],
        "space-after-keywords": [2, "always", {"checkFunctionKeyword": true}],
        "space-before-blocks": [2, "always"],
        "spaced-line-comment": [2, "always"],
        "space-in-brackets": [2, "never"],
        "space-in-parens": [2, "never"],
        "space-return-throw-case": 2,
        "space-unary-ops": [2, {"words": true, "nonwords": false}],
        "strict": 2,
        "valid-jsdoc": 2,
        "valid-typeof": 2,
        "wrap-iife": [2, "outside"],
        "yoda": [2, "never"]
    }
}