@resolid/config 3.9.0 → 3.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolid/config",
3
- "version": "3.9.0",
3
+ "version": "3.9.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Eslint and Prettier config",
@@ -21,7 +21,10 @@
21
21
  "tsconfig"
22
22
  ],
23
23
  "exports": {
24
- "./*": "./src/*.js",
24
+ "./*": {
25
+ "types": "./src/*.d.ts",
26
+ "import": "./src/*.js"
27
+ },
25
28
  "./tsconfig/*": "./tsconfig/*.json"
26
29
  },
27
30
  "dependencies": {
@@ -33,7 +36,7 @@
33
36
  "eslint-plugin-react-refresh": "^0.4.23",
34
37
  "globals": "^16.4.0",
35
38
  "prettier-plugin-organize-imports": "^4.3.0",
36
- "typescript-eslint": "^8.46.0"
39
+ "typescript-eslint": "^8.46.1"
37
40
  },
38
41
  "devDependencies": {
39
42
  "@changesets/cli": "^2.29.7",
@@ -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,8 @@
1
+ import organizeImports from "prettier-plugin-organize-imports";
2
+
1
3
  /** @type {import('prettier').Config} */
2
4
  const config = {
3
- plugins: ["prettier-plugin-organize-imports"],
5
+ plugins: [organizeImports],
4
6
  };
5
7
 
6
8
  export default config;