@7n/rules 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -9,8 +9,8 @@ import { parseDocFrontmatter, readDocCrc, staleness } from '../docgen-crc/main.m
|
|
|
9
9
|
/** Кодові розширення, для яких генеруємо документацію. */
|
|
10
10
|
const SOURCE_EXTENSIONS = new Set(['.js', '.mjs', '.ts', '.vue', '.py', '.rs'])
|
|
11
11
|
|
|
12
|
-
/** `*.test.*`, `*.spec.*` —
|
|
13
|
-
const TEST_FILE_RE = /\.(?:test|spec)\.[^.]+$/u
|
|
12
|
+
/** `*.test.*`, `*.spec.*`, `*.stories.*` — тести й Storybook CSF-файли, документувати не треба. */
|
|
13
|
+
const TEST_FILE_RE = /\.(?:test|spec|stories)\.[^.]+$/u
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Чи корінь має system-wide docs layout.
|