Skip to content

Commit bb600e0

Browse files
fix: allow to use any Node.js features and ECMA syntax in documentation (#88)
1 parent a3dcb8c commit bb600e0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

configs/markdown.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,28 @@ async function getMarkdownRecommendedConfig() {
5959

6060
"unicorn/no-unused-properties": "off",
6161

62+
// Allow to use any packages in documentation
6263
"n/no-unpublished-require": "off",
6364

65+
// Allow to use any packages in documentation
6466
"n/no-unpublished-import": "off",
6567

68+
// Allow to use any ES builtins in documentation
69+
"m/no-unsupported-features/es-builtins": "off",
70+
71+
// Allow to use any ES syntax in documentation
72+
"n/no-unsupported-features/es-syntax": "off",
73+
74+
// Allow to use any Node.js API in documentation
75+
"n/no-unsupported-features/node-builtins": "off",
76+
77+
// Allow to use any packages in documentation
6678
"n/no-missing-import": "off",
6779

80+
// Allow to use any packages in documentation
6881
"n/no-missing-require": "off",
6982

83+
// Useful for documentation
7084
"n/no-process-exit": "off",
7185

7286
"import/no-unresolved": "off",

0 commit comments

Comments
 (0)