Skip to content

Commit 2605f92

Browse files
fix: turn off all type-checking eslint rules for markdown (#854)
1 parent bfdca51 commit 2605f92

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

src/plugins/markdown.ts

+62
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,71 @@ export const settings: Linter.Config = {
1212
},
1313
{
1414
files: ["**/*.md/**"],
15+
parserOptions: {
16+
project: null,
17+
},
1518
rules: {
19+
"@typescript-eslint/await-thenable": "off",
20+
"@typescript-eslint/consistent-type-definitions": "off",
21+
"@typescript-eslint/dot-notation": "off",
22+
"@typescript-eslint/explicit-member-accessibility": "off",
23+
"@typescript-eslint/no-confusing-void-expression": "off",
24+
"@typescript-eslint/no-empty-function": "off",
25+
"@typescript-eslint/no-floating-promises": "off",
26+
"@typescript-eslint/no-for-in-array": "off",
27+
"@typescript-eslint/no-implied-eval": "off",
28+
"@typescript-eslint/no-misused-promises": "off",
29+
"@typescript-eslint/no-throw-literal": "off",
30+
"@typescript-eslint/no-unnecessary-type-assertion": "off",
31+
"@typescript-eslint/no-unsafe-assignment": "off",
32+
"@typescript-eslint/no-unsafe-call": "off",
33+
"@typescript-eslint/no-unsafe-member-access": "off",
34+
"@typescript-eslint/no-unsafe-return": "off",
35+
"@typescript-eslint/no-unused-expressions": "off",
36+
"@typescript-eslint/no-unused-vars": "off",
37+
"@typescript-eslint/non-nullable-type-assertion-style": "off",
38+
"@typescript-eslint/prefer-includes": "off",
39+
"@typescript-eslint/prefer-nullish-coalescing": "off",
40+
"@typescript-eslint/prefer-readonly-parameter-types": "off",
41+
"@typescript-eslint/prefer-readonly": "off",
42+
"@typescript-eslint/prefer-regexp-exec": "off",
43+
"@typescript-eslint/prefer-string-starts-ends-with": "off",
44+
"@typescript-eslint/promise-function-async": "off",
45+
"@typescript-eslint/require-await": "off",
46+
"@typescript-eslint/restrict-plus-operands": "off",
47+
"@typescript-eslint/restrict-template-expressions": "off",
48+
"@typescript-eslint/strict-boolean-expressions": "off",
49+
"@typescript-eslint/switch-exhaustiveness-check": "off",
50+
"@typescript-eslint/unbound-method": "off",
51+
"functional/immutable-data": "off",
52+
"functional/no-class": "off",
53+
"functional/no-let": "off",
54+
"functional/no-loop-statement": "off",
55+
"functional/no-return-void": "off",
56+
"functional/no-this-expression": "off",
57+
"functional/no-throw-statement": "off",
58+
"functional/no-try-statement": "off",
59+
"functional/prefer-readonly-type": "off",
60+
"import/no-unresolved": "off",
61+
"init-declarations": "off",
62+
"jsdoc/require-jsdoc": "off",
1663
"no-console": "off",
64+
"no-empty": "off",
65+
"no-invalid-this": "off",
66+
"no-undef": "off",
67+
"no-useless-return": "off",
68+
"node/handle-callback-err": "off",
69+
"prefer-const": "off",
1770
"prettier/prettier": "off",
71+
"sonarjs/no-extra-arguments": "off",
72+
"sonarjs/no-unused-collection": "off",
73+
"unicorn/prefer-optional-catch-binding": "off",
74+
"unicorn/prefer-ternary": "off",
75+
"unicorn/prefer-top-level-await": "off",
76+
77+
"dot-notation": "error",
78+
"no-implied-eval": "error",
79+
"require-await": "error",
1880
},
1981
},
2082
],

0 commit comments

Comments
 (0)