Skip to content

Commit 31da650

Browse files
chore: setup new linting rule
1 parent 2667d4c commit 31da650

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
@@ -47,6 +47,7 @@
4747
"@typescript-eslint/prefer-readonly-parameter-types": "warn",
4848
"import/no-relative-parent-imports": "error",
4949
"functional/prefer-readonly-type": "off",
50+
"functional/prefer-readonly-type-declaration": "warn",
5051
"node/no-unsupported-features/es-builtins": "off",
5152
"node/no-unsupported-features/es-syntax": "off",
5253
"promise/prefer-await-to-callbacks": "off",
@@ -117,6 +118,12 @@
117118
"jsdoc/require-jsdoc": "off"
118119
}
119120
},
121+
{
122+
"files": ["**/*.md/**"],
123+
"rules": {
124+
"functional/prefer-readonly-type-declaration": "off"
125+
}
126+
},
120127
// FIXME: This override is defined in the upsteam; it shouldn't need to be redefined here. Why?
121128
{
122129
"files": [

0 commit comments

Comments
 (0)