@rhapsodic/eslint-config 1.0.0 → 1.0.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/index.mjs +2 -0
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -416,7 +416,9 @@ async function typescript(options = {}) {
|
|
|
416
416
|
name: "rhapsodic/typescript/rules",
|
|
417
417
|
rules: {
|
|
418
418
|
...renameRules(pluginTs.configs.recommended.rules, { "@typescript-eslint": "ts" }),
|
|
419
|
+
...renameRules(pluginTs.configs["eslint-recommended"].overrides[0].rules, { "@typescript-eslint": "ts" }),
|
|
419
420
|
...renameRules(pluginTs.configs["stylistic-type-checked"].rules, { "@typescript-eslint": "ts" }),
|
|
421
|
+
"ts/ban-ts-comment": ["error", { "ts-expect-error": "allow-with-description" }],
|
|
420
422
|
"ts/no-inferrable-types": "off",
|
|
421
423
|
"ts/no-shadow": ["error"],
|
|
422
424
|
"ts/no-unused-vars": ["error", {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhapsodic/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"description": "Rhapsodic's ESLint config",
|
|
6
6
|
"author": "Svyatoslav Fyodorov <intelrug@gmail.com> (https://github.com/intelrug/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"typescript": "^5.9.3",
|
|
69
69
|
"vitest": "^4.0.9",
|
|
70
70
|
"vue": "^3.5.24",
|
|
71
|
-
"@rhapsodic/eslint-config": "1.0.
|
|
71
|
+
"@rhapsodic/eslint-config": "1.0.1"
|
|
72
72
|
},
|
|
73
73
|
"resolutions": {
|
|
74
74
|
"eslint": "catalog:peer"
|