UNPKG

586 BJavaScriptView Raw
1module.exports = {
2 extends: ["../../.eslintrc.js"],
3 rules: {
4 // Only needed for a test that uses an 'enum' and that fails due to a
5 // TS/ESLint bug: https://github.com/typescript-eslint/typescript-eslint/issues/2483
6 // This is only for one test (TokenRequest.spec.ts), that is due to be
7 // removed, at which point this workaround can be removed...
8 "no-shadow": "off",
9 "@typescript-eslint/no-shadow": "error",
10
11 "license-header/header": ["error", "../../resources/license-header.js"],
12 },
13 parserOptions: {
14 project: "./tsconfig.eslint.json",
15 },
16};