@azat-io/eslint-config 2.41.0 → 2.42.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/dist/core/index.js +13 -2
- package/dist/typescript/index.js +11 -0
- package/dist/vue/index.js +2 -0
- package/package.json +4 -4
package/dist/core/index.js
CHANGED
|
@@ -356,7 +356,12 @@ function core(config) {
|
|
|
356
356
|
"import-x/no-webpack-loader-syntax": "error",
|
|
357
357
|
"jsdoc/check-access": "error",
|
|
358
358
|
"jsdoc/check-alignment": "error",
|
|
359
|
-
"jsdoc/check-param-names":
|
|
359
|
+
"jsdoc/check-param-names": [
|
|
360
|
+
"error",
|
|
361
|
+
{
|
|
362
|
+
checkDestructured: false
|
|
363
|
+
}
|
|
364
|
+
],
|
|
360
365
|
"jsdoc/check-property-names": "error",
|
|
361
366
|
"jsdoc/check-syntax": "error",
|
|
362
367
|
"jsdoc/check-tag-names": "error",
|
|
@@ -376,8 +381,14 @@ function core(config) {
|
|
|
376
381
|
"jsdoc/no-undefined-types": "error",
|
|
377
382
|
"jsdoc/require-asterisk-prefix": "error",
|
|
378
383
|
"jsdoc/require-description": "error",
|
|
384
|
+
"jsdoc/require-description-complete-sentence": "error",
|
|
379
385
|
"jsdoc/require-hyphen-before-param-description": "error",
|
|
380
|
-
"jsdoc/require-param":
|
|
386
|
+
"jsdoc/require-param": [
|
|
387
|
+
"error",
|
|
388
|
+
{
|
|
389
|
+
checkDestructured: false
|
|
390
|
+
}
|
|
391
|
+
],
|
|
381
392
|
"jsdoc/require-param-description": "error",
|
|
382
393
|
"jsdoc/require-param-name": "error",
|
|
383
394
|
"jsdoc/require-param-type": "error",
|
package/dist/typescript/index.js
CHANGED
|
@@ -36,6 +36,17 @@ async function typescript(config) {
|
|
|
36
36
|
typescript: typescriptPlugin
|
|
37
37
|
},
|
|
38
38
|
rules: {
|
|
39
|
+
"jsdoc/check-tag-names": [
|
|
40
|
+
"error",
|
|
41
|
+
{
|
|
42
|
+
typed: true
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"jsdoc/no-types": "error",
|
|
46
|
+
"jsdoc/no-undefined-types": "off",
|
|
47
|
+
"jsdoc/require-param-type": "off",
|
|
48
|
+
"jsdoc/require-property-type": "off",
|
|
49
|
+
"jsdoc/require-returns-type": "off",
|
|
39
50
|
"typescript/array-type": [
|
|
40
51
|
"error",
|
|
41
52
|
{
|
package/dist/vue/index.js
CHANGED
|
@@ -102,6 +102,8 @@ async function vue(config) {
|
|
|
102
102
|
"vue/no-multiple-objects-in-class": "error",
|
|
103
103
|
"vue/no-multiple-slot-args": "error",
|
|
104
104
|
"vue/no-mutating-props": "error",
|
|
105
|
+
"vue/no-negated-condition": "error",
|
|
106
|
+
"vue/no-negated-v-if-condition": "error",
|
|
105
107
|
"vue/no-parsing-error": "error",
|
|
106
108
|
"vue/no-potential-component-option-typo": "error",
|
|
107
109
|
"vue/no-ref-as-operand": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azat-io/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.42.1",
|
|
4
4
|
"description": "ESLint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"eslint-plugin-de-morgan": "^1.3.0",
|
|
36
36
|
"eslint-plugin-depend": "^1.2.0",
|
|
37
37
|
"eslint-plugin-import-x": "^4.16.1",
|
|
38
|
-
"eslint-plugin-jsdoc": "^52.0.
|
|
38
|
+
"eslint-plugin-jsdoc": "^52.0.2",
|
|
39
39
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
40
40
|
"eslint-plugin-n": "^17.21.3",
|
|
41
|
-
"eslint-plugin-package-json": "^0.
|
|
41
|
+
"eslint-plugin-package-json": "^0.48.0",
|
|
42
42
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
43
43
|
"eslint-plugin-prefer-let": "^4.0.0",
|
|
44
44
|
"eslint-plugin-promise": "^7.2.1",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"eslint-plugin-sonarjs": "^3.0.4",
|
|
56
56
|
"eslint-plugin-svelte": "^3.11.0",
|
|
57
57
|
"eslint-plugin-unicorn": "^60.0.0",
|
|
58
|
-
"eslint-plugin-vue": "^10.
|
|
58
|
+
"eslint-plugin-vue": "^10.4.0",
|
|
59
59
|
"globals": "^16.3.0",
|
|
60
60
|
"jsonc-eslint-parser": "^2.4.0",
|
|
61
61
|
"svelte-eslint-parser": "^1.3.0",
|