https://github.com/Microsoft/TypeScript
Raw File
Tip revision: 0946a7f6edb4ba8d98ef0096fc0133c62bc7dc42 authored by Ron Buckton on 25 October 2022, 21:18:22 UTC
WIP --annotateTransforms switch to add transformer diagnostics to Source Maps
Tip revision: 0946a7f
.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