https://github.com/Microsoft/TypeScript
Raw File
Tip revision: 0a506ac1014442a98eb8db8428db227da139f2d1 authored by Anders Hejlsberg on 26 August 2020, 03:20:24 UTC
Backing off yet more
Tip revision: 0a506ac
.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
                "no-keywords": "off",

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