Skip to content

Commit bf253e9

Browse files
chore: setup new linting rule
1 parent f1fecc5 commit bf253e9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.eslintrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"@typescript-eslint/no-unsafe-return": "off",
4141
"import/no-relative-parent-imports": "error",
4242
"functional/prefer-readonly-type": "off",
43+
"functional/prefer-readonly-type-declaration": "warn",
4344
"node/no-unsupported-features/es-builtins": "off",
4445
"node/no-unsupported-features/es-syntax": "off",
4546
"promise/prefer-await-to-callbacks": "off",
@@ -90,6 +91,12 @@
9091
"jsdoc/require-jsdoc": "off"
9192
}
9293
},
94+
{
95+
"files": ["**/*.md/**"],
96+
"rules": {
97+
"functional/prefer-readonly-type-declaration": "off"
98+
}
99+
},
93100
// FIXME: This override is defined in the upsteam; it shouldn't need to be redefined here. Why?
94101
{
95102
"files": ["./**/*.md/**"],

0 commit comments

Comments
 (0)