https://github.com/Microsoft/TypeScript
Raw File
Tip revision: 01de6ff2ecdc6175727f7f999b887519d40ca115 authored by TypeScript Bot on 06 October 2021, 23:30:48 UTC
Bump version to 4.4.4 and LKG
Tip revision: 01de6ff
.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