Revision 04c2fbdc860d88156efbebda1d8818412c36e114 authored by Nathan Shively-Sanders on 30 August 2022, 17:17:26 UTC, committed by Nathan Shively-Sanders on 30 August 2022, 17:17:26 UTC
1 parent 488d0ee
Raw File
.eslintrc.json
{
    "extends": "../.eslintrc.json",
    "parserOptions": {
        "tsconfigRootDir": "src",
        "project": "./tsconfig-base.json"
    },
    "rules": {
        "@typescript-eslint/no-unnecessary-qualifier": "error",
        "@typescript-eslint/no-unnecessary-type-assertion": "error"
    },
    "overrides": [
        {
            "files": ["lib/*.d.ts"],
            "rules": {
                "@typescript-eslint/interface-name-prefix": "off",
                "@typescript-eslint/prefer-function-type": "off",
                "@typescript-eslint/unified-signatures": "off",

                // scripts/eslint/rules
                "local/no-keywords": "off",

                // eslint
                "no-var": "off"
            }
        },
        {
            "files": ["lib/es2019.array.d.ts"],
            "rules": {
                "@typescript-eslint/array-type": "off"
            }
        }
    ]
}
back to top