@mkvlrn/config 3.0.10 → 3.1.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mkvlrn/config",
3
3
  "description": "Opinionated configurations for biome and typescript",
4
- "version": "3.0.10",
4
+ "version": "3.1.0",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "author": "Mike Valeriano <mkvlrn@gmail.com>",
package/src/biome.jsonc CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.3.15/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.2/schema.json",
3
3
  "root": false,
4
4
  "assist": {
5
+ "enabled": true,
5
6
  "actions": {
6
7
  "source": {
7
8
  "organizeImports": "on",
@@ -31,15 +32,19 @@
31
32
  "indentWidth": 2
32
33
  },
33
34
  "linter": {
35
+ "enabled": true,
34
36
  "domains": {
35
- "project": "all",
36
- "test": "all",
37
- "react": "all",
38
37
  "next": "none",
38
+ "playwright": "none",
39
+ "project": "recommended",
40
+ "qwik": "none",
41
+ "react": "recommended",
39
42
  "solid": "none",
40
- "qwik": "none"
43
+ "test": "recommended",
44
+ "turborepo": "none",
45
+ "types": "recommended",
46
+ "vue": "none"
41
47
  },
42
- "enabled": true,
43
48
  "rules": {
44
49
  "a11y": "on",
45
50
  "complexity": "on",
@@ -62,7 +67,11 @@
62
67
  },
63
68
  "correctness": {
64
69
  // path alias already uses ts extensions
65
- "useImportExtensions": "off"
70
+ "useImportExtensions": "off",
71
+ // TODO: check on new versions
72
+ // biome 2.4 seems to have broken this for node imports, using the ts check for now
73
+ // still present in 2.4.2
74
+ "noUnresolvedImports": "off"
66
75
  },
67
76
  "style": {
68
77
  // this is a silly rule
package/src/tsconfig.json CHANGED
@@ -37,6 +37,8 @@
37
37
  "experimentalDecorators": true,
38
38
  "emitDecoratorMetadata": true,
39
39
  // react
40
- "jsx": "react-jsx"
40
+ "jsx": "react-jsx",
41
+ // default is empty now, so any type packages are allowed
42
+ "types": ["*"]
41
43
  }
42
44
  }