@yasainet/eslint 0.1.3 → 0.1.4

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.

Potentially problematic release.


This version of @yasainet/eslint might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/jsdoc.mjs +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yasainet/eslint",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Shared ESLint configuration for Next.js projects with feature-based architecture",
5
5
  "type": "module",
6
6
  "exports": {
package/src/jsdoc.mjs CHANGED
@@ -3,6 +3,9 @@
3
3
  *
4
4
  * Enforces a single rule: every exported function must have a description.
5
5
  * Types are handled by TypeScript (machine layer), not JSDoc.
6
+ *
7
+ * Targets: repositories, domains, utils.
8
+ * Excludes: actions, hooks, components, schemas, constants.
6
9
  */
7
10
 
8
11
  import jsdocPlugin from "eslint-plugin-jsdoc";
@@ -16,7 +19,11 @@ import { featuresGlob } from "./constants.mjs";
16
19
  export const jsdocConfigs = [
17
20
  {
18
21
  name: "jsdoc",
19
- files: [...featuresGlob("**/*.ts"), "src/components/**/*.tsx"],
22
+ files: [
23
+ ...featuresGlob("**/repositories/*.ts"),
24
+ ...featuresGlob("**/domain*/*.ts"),
25
+ ...featuresGlob("**/util*/*.ts"),
26
+ ],
20
27
  plugins: {
21
28
  jsdoc: jsdocPlugin,
22
29
  },