@siemens/eslint-plugin-defaultvalue 1.0.2 → 1.1.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 CHANGED
@@ -33,16 +33,3 @@ export default [
33
33
  }
34
34
  ];
35
35
  ```
36
-
37
- ### Removing not resolved and setter @defaultValue annotations
38
-
39
- To automatically remove not resolvable and setter @defaultValue annotations, use the following configuration:
40
-
41
- ```js
42
- ...,
43
- rules: {
44
- ...,
45
- 'defaultvalue/tsdoc-defaultValue-annotation': ['error', 'removeAll', 1000]
46
- }
47
- ...
48
- ```
@@ -192,12 +192,7 @@ export default createRule({
192
192
  docs: {
193
193
  description: 'enforce correct @defaultValue TSDoc annotation'
194
194
  },
195
- schema: [
196
- {
197
- type: 'string',
198
- enum: ['removeAll', 'default']
199
- }
200
- ],
195
+ schema: [],
201
196
  fixable: 'code',
202
197
  messages: {
203
198
  incorrectDefaultValueAnnotation: 'Incorrect @defaultValue TSDoc annotation: {{ message }}',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siemens/eslint-plugin-defaultvalue",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "main": "lib/index.js",
5
5
  "type": "module",
6
6
  "description": "Automatically enrich TSDoc comments with default values or check if they are all correct.",