@morriconeluca/eslint-plugin-faf 0.6.0 → 0.6.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/README.md +11 -1
- package/dist/main.cjs +349 -89
- package/dist/main.cjs.map +1 -1
- package/dist/main.js +349 -89
- package/dist/main.js.map +1 -1
- package/package.json +9 -4
package/README.md
CHANGED
|
@@ -246,7 +246,17 @@ The plugin analyzes codebases using high-performance, deterministic static tooli
|
|
|
246
246
|
- **CSS Stylesheets**: Scanned with a dedicated parser for `@import` and `url()` references, establishing dependency edges to other stylesheets and static assets.
|
|
247
247
|
- **Binary Assets**: Recognized as terminal leaf nodes (sinks) with incoming edges but zero outgoing edges.
|
|
248
248
|
- **Boundary Resolution (`oxc-resolver`)**: Resolves module specifiers against your project's `tsconfig.json` (`paths`, `baseUrl`) and `package.json` (`imports`, `exports`). Workspace packages inside a monorepo are classified as local codebase files; external `node_modules` packages and Node.js built-ins (`node:*`) act as terminal sinks.
|
|
249
|
-
- **Incomplete Checks (`unverified`)**: Any unanalyzable construct (such as non-literal dynamic imports `import(variable)`, unreadable files, symbolic links inside trees
|
|
249
|
+
- **Incomplete Checks (`unverified`)**: Any unanalyzable construct (such as non-literal dynamic imports `import(variable)`, unreadable files, or symbolic links inside trees) emits a blocking `unverified/*` outcome. Non-literal `require(...)` calls, TypeScript `export =` assignments, and CommonJS `module.exports` / `exports.*` assignments are unsupported constructs that emit `unverified/unsupported-syntax`. Incomplete checks are never treated as proof of conformity.
|
|
250
|
+
|
|
251
|
+
### Nominal Kebab-Case Grammar
|
|
252
|
+
|
|
253
|
+
The lexical policy enforced by the plugin requires standard architectural element names to match the ASCII regular expression `^[a-z0-9]+(?:-[a-z0-9]+)*$`:
|
|
254
|
+
|
|
255
|
+
- **Permitted Characters**: Lowercase ASCII letters `a-z` and digits `0-9` separated by single hyphens.
|
|
256
|
+
- **Initial Digits**: Permitted, such as `2fa-service` or `v2-parser`.
|
|
257
|
+
- **Acronyms**: Must be lowercase, such as `http-client`.
|
|
258
|
+
- **Rejected Forms**: Uppercase letters (e.g. `HTTPClient`), consecutive, leading, or trailing hyphens, non-prefix underscores, and non-ASCII Unicode characters (e.g. `café-parser`).
|
|
259
|
+
- **Free Naming**: Free naming applies to designated Tree origins, Root Fragments, Root Nodes, Foreign Domains, and Foreign Nodes.
|
|
250
260
|
|
|
251
261
|
---
|
|
252
262
|
|