@resolid/config 3.9.0 → 3.9.2

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/package.json CHANGED
@@ -1,29 +1,33 @@
1
1
  {
2
2
  "name": "@resolid/config",
3
- "version": "3.9.0",
4
- "type": "module",
5
- "sideEffects": false,
3
+ "version": "3.9.2",
6
4
  "description": "Eslint and Prettier config",
7
- "author": "Huijie Wei",
8
- "license": "MIT",
9
5
  "keywords": [
10
6
  "resolid",
11
7
  "eslint",
12
8
  "prettier",
13
9
  "typescript"
14
10
  ],
15
- "publishConfig": {
16
- "access": "public",
17
- "provenance": true
11
+ "homepage": "https://www.resolid.tech",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/huijiewei/resolid-config.git"
15
+ },
16
+ "license": "MIT",
17
+ "author": "Huijie Wei",
18
+ "sideEffects": false,
19
+ "type": "module",
20
+ "exports": {
21
+ "./*": {
22
+ "types": "./src/*.d.ts",
23
+ "import": "./src/*.js"
24
+ },
25
+ "./tsconfig/*": "./tsconfig/*.json"
18
26
  },
19
27
  "files": [
20
28
  "src",
21
29
  "tsconfig"
22
30
  ],
23
- "exports": {
24
- "./*": "./src/*.js",
25
- "./tsconfig/*": "./tsconfig/*.json"
26
- },
27
31
  "dependencies": {
28
32
  "@eslint/js": "^9.37.0",
29
33
  "eslint-plugin-jsx-a11y": "^6.10.2",
@@ -33,7 +37,7 @@
33
37
  "eslint-plugin-react-refresh": "^0.4.23",
34
38
  "globals": "^16.4.0",
35
39
  "prettier-plugin-organize-imports": "^4.3.0",
36
- "typescript-eslint": "^8.46.0"
40
+ "typescript-eslint": "^8.46.1"
37
41
  },
38
42
  "devDependencies": {
39
43
  "@changesets/cli": "^2.29.7",
@@ -58,13 +62,12 @@
58
62
  "engines": {
59
63
  "node": "^20.19.0 || ^22.13.0 || >=24"
60
64
  },
61
- "homepage": "https://www.resolid.tech",
62
- "repository": {
63
- "type": "git",
64
- "url": "git+https://github.com/huijiewei/resolid-config.git"
65
+ "publishConfig": {
66
+ "access": "public",
67
+ "provenance": true
65
68
  },
66
69
  "scripts": {
67
- "lint": "eslint .",
68
- "format": "prettier --write ."
70
+ "format": "prettier . --write --experimental-cli",
71
+ "lint": "eslint ."
69
72
  }
70
73
  }
@@ -0,0 +1,5 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ declare const config: Linter.Config[];
4
+
5
+ export default config;
@@ -0,0 +1,5 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ declare const config: Linter.Config[];
4
+
5
+ export default config;
@@ -0,0 +1,5 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ declare const config: Linter.Config[];
4
+
5
+ export default config;
@@ -0,0 +1,5 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ declare const config: Linter.Config[];
4
+
5
+ export default config;
@@ -0,0 +1,5 @@
1
+ import type { FlatConfig } from "typescript-eslint";
2
+
3
+ declare const config: FlatConfig.ConfigArray;
4
+
5
+ export default config;
@@ -1,7 +1,7 @@
1
1
  import typescript from "typescript-eslint";
2
2
  import javascript from "./eslint.javascript.js";
3
3
 
4
- /** @type {import('@typescript-eslint/utils').FlatConfig.ConfigArray} */
4
+ /** @type {import('typescript-eslint').FlatConfig.ConfigArray} */
5
5
  const config = typescript.config(javascript, typescript.configs.recommended, {
6
6
  name: "resolid/typescript",
7
7
  files: ["**/*.ts", "**/*.tsx"],
@@ -0,0 +1,4 @@
1
+ import type { Config } from "prettier";
2
+
3
+ declare const config: Config;
4
+ export default config;
package/src/prettier.js CHANGED
@@ -1,6 +1,7 @@
1
1
  /** @type {import('prettier').Config} */
2
2
  const config = {
3
- plugins: ["prettier-plugin-organize-imports"],
3
+ plugins: [import.meta.resolve("prettier-plugin-organize-imports")],
4
+ organizeImportsSkipDestructiveCodeActions: true,
4
5
  };
5
6
 
6
7
  export default config;