@rhyster/eslint-config 2.0.6 → 2.0.7
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/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/src/rules/general.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/rules/general.ts +3 -2
- package/src/rules/vue.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../../src/rules/general.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAC5B,KAAK,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AACrD,KAAK,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;;;;
|
|
1
|
+
{"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../../src/rules/general.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAC5B,KAAK,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AACrD,KAAK,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;;;;uCAKT,MAAM;+BACd,MAAM;6BACV,MAAM;;;yBAInB,MAAM;;;;;;;;;;;;;;;;;;;;;AATnC,wBAmD4B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhyster/eslint-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
52
52
|
"eslint-plugin-import-x": "^4.16.2",
|
|
53
53
|
"eslint-plugin-n": "^17.24.0",
|
|
54
|
-
"eslint-plugin-vue": "^10.
|
|
54
|
+
"eslint-plugin-vue": "^10.9.0",
|
|
55
55
|
"globals": "^17.5.0",
|
|
56
|
-
"typescript-eslint": "^8.
|
|
56
|
+
"typescript-eslint": "^8.59.1",
|
|
57
57
|
"vue-eslint-parser": "^10.4.0"
|
|
58
58
|
},
|
|
59
|
-
"packageManager": "pnpm@10.33.
|
|
59
|
+
"packageManager": "pnpm@10.33.2"
|
|
60
60
|
}
|
package/src/rules/general.ts
CHANGED
|
@@ -11,11 +11,12 @@ type Parser = NonNullable<Config['languageOptions']>['parser'];
|
|
|
11
11
|
export default {
|
|
12
12
|
name: '@rhyster/eslint-config/general',
|
|
13
13
|
plugins: {
|
|
14
|
-
'@typescript-eslint': ts.plugin as Plugin,
|
|
15
|
-
'@stylistic': stylistic as Plugin,
|
|
14
|
+
'@typescript-eslint': ts.plugin as unknown as Plugin,
|
|
15
|
+
'@stylistic': stylistic as unknown as Plugin,
|
|
16
16
|
'import-x': importx as unknown as Plugin,
|
|
17
17
|
},
|
|
18
18
|
languageOptions: {
|
|
19
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
19
20
|
parser: ts.parser as Parser,
|
|
20
21
|
parserOptions: {
|
|
21
22
|
projectService: true,
|