@html-validate/eslint-config-typescript 7.1.0 → 8.0.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/index.mjs +2 -2
- package/package.json +3 -3
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { importX } from "eslint-plugin-import-x";
|
|
2
2
|
import tsdocPlugin from "eslint-plugin-tsdoc";
|
|
3
3
|
import { configs as tseConfig, parser as tseParser, plugin as tsePlugin } from "typescript-eslint";
|
|
4
4
|
|
|
@@ -40,7 +40,7 @@ const strict = tseConfig.strict.reduce(flatten, {});
|
|
|
40
40
|
const stylistic = tseConfig.stylistic.reduce(flatten, {});
|
|
41
41
|
|
|
42
42
|
/** @type {Config} */
|
|
43
|
-
const importConfig =
|
|
43
|
+
const importConfig = importX.flatConfigs.typescript;
|
|
44
44
|
|
|
45
45
|
export default defineConfig({
|
|
46
46
|
languageOptions: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@html-validate/eslint-config-typescript",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Eslint sharable config used by the various HTML-validate packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"prepublishOnly": "release-prepublish --retain-scripts"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"eslint-plugin-import": "
|
|
32
|
+
"eslint-plugin-import-x": "4.16.2",
|
|
33
33
|
"eslint-plugin-tsdoc": "0.5.2",
|
|
34
34
|
"typescript-eslint": "8.59.2"
|
|
35
35
|
},
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "7145944694a5f50406ce71eee08d14a00daaaadc"
|
|
47
47
|
}
|