@o3r/eslint-plugin 10.0.0-prerelease.99 → 10.1.0-prerelease.0
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 +2 -1
- package/package.json +6 -6
- package/schematics/ng-add/schema.json +18 -0
- package/tsconfig.tsbuildinfo +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,8 @@ The module provides in-house eslint plugins to use in your own eslint configurat
|
|
|
17
17
|
ng add @o3r/eslint-plugin
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
>
|
|
20
|
+
> [!WARNING]
|
|
21
|
+
> This module requires [@o3r/core](https://www.npmjs.com/package/@o3r/core) to be installed.
|
|
21
22
|
|
|
22
23
|
## Rules
|
|
23
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/eslint-plugin",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.1.0-prerelease.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"build": "yarn nx build eslint-plugin",
|
|
21
21
|
"postbuild": "patch-package-json-main",
|
|
22
22
|
"prepare:publish": "prepare-publish ./dist",
|
|
23
|
-
"prepare:build:builders": "yarn cpy './collection.json' dist",
|
|
23
|
+
"prepare:build:builders": "yarn cpy 'schematics/**/*.json' 'schematics/**/templates/**' dist/schematics && yarn cpy './collection.json' dist",
|
|
24
24
|
"build:builders": "tsc -b tsconfig.builders.json --pretty && yarn generate-cjs-manifest"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"@compodoc/compodoc": "^1.1.19",
|
|
65
65
|
"@nx/eslint-plugin": "~18.0.2",
|
|
66
66
|
"@nx/jest": "~18.0.2",
|
|
67
|
-
"@o3r/build-helpers": "^10.
|
|
68
|
-
"@o3r/test-helpers": "^10.
|
|
67
|
+
"@o3r/build-helpers": "^10.1.0-prerelease.0",
|
|
68
|
+
"@o3r/test-helpers": "^10.1.0-prerelease.0",
|
|
69
69
|
"@stylistic/eslint-plugin-ts": "^1.5.4",
|
|
70
70
|
"@types/jest": "~29.5.2",
|
|
71
71
|
"@types/node": "^20.0.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"cpy-cli": "^5.0.0",
|
|
76
76
|
"eslint": "^8.42.0",
|
|
77
77
|
"eslint-plugin-jest": "~27.9.0",
|
|
78
|
-
"eslint-plugin-jsdoc": "~48.
|
|
78
|
+
"eslint-plugin-jsdoc": "~48.2.0",
|
|
79
79
|
"eslint-plugin-prefer-arrow": "~1.2.3",
|
|
80
80
|
"eslint-plugin-unicorn": "^51.0.0",
|
|
81
81
|
"jest": "~29.7.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"rimraf": "^5.0.1",
|
|
86
86
|
"ts-jest": "~29.1.1",
|
|
87
87
|
"type-fest": "^4.10.2",
|
|
88
|
-
"typescript": "~5.
|
|
88
|
+
"typescript": "~5.3.3",
|
|
89
89
|
"yaml-eslint-parser": "^1.2.2"
|
|
90
90
|
},
|
|
91
91
|
"schematics": "./collection.json",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "ngAddSchematicsSchema",
|
|
4
|
+
"title": "Add Otter eslint-plugin ",
|
|
5
|
+
"description": "ngAdd Otter eslint-plugin ",
|
|
6
|
+
"properties": {
|
|
7
|
+
"projectName": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Project name",
|
|
10
|
+
"$default": {
|
|
11
|
+
"$source": "projectName"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": true,
|
|
16
|
+
"required": [
|
|
17
|
+
]
|
|
18
|
+
}
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"5.
|
|
1
|
+
{"version":"5.3.3"}
|