@stanlemon/webdev 0.2.74 → 0.2.75

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/.babelrc.json CHANGED
@@ -28,4 +28,4 @@
28
28
  }
29
29
  ]
30
30
  ]
31
- }
31
+ }
package/README.md CHANGED
@@ -14,10 +14,11 @@ package.json
14
14
  "start": "webpack serve",
15
15
  "build": "NODE_ENV=production webpack",
16
16
  "test": "jest",
17
- "lint": "eslint .",
18
- "lint:fix": "eslint --fix ."
17
+ "lint": "biome check .",
18
+ "lint:fix": "biome check --write ."
19
19
  },
20
- "dependencies": {
20
+ "devDependencies": {
21
+ "@biomejs/biome": "^2.4.10",
21
22
  "@stanlemon/webdev": "*"
22
23
  }
23
24
  }
@@ -33,12 +34,64 @@ jest.config.js
33
34
  export { default } from "@stanlemon/webdev/jest.config.js";
34
35
  ```
35
36
 
36
- .eslintrc.json
37
+ biome.json
37
38
  ```json
38
39
  {
39
- "extends": [
40
- "@stanlemon"
41
- ]
40
+ "files": {
41
+ "includes": [
42
+ "**",
43
+ "!**/dist",
44
+ "!**/node_modules",
45
+ "!**/.git"
46
+ ]
47
+ },
48
+ "assist": {
49
+ "enabled": false
50
+ },
51
+ "formatter": {
52
+ "indentStyle": "space",
53
+ "indentWidth": 2
54
+ },
55
+ "javascript": {
56
+ "formatter": {
57
+ "trailingCommas": "es5"
58
+ },
59
+ "jsxRuntime": "transparent"
60
+ },
61
+ "linter": {
62
+ "domains": {
63
+ "react": "recommended",
64
+ "test": "recommended"
65
+ },
66
+ "rules": {
67
+ "complexity": {
68
+ "useOptionalChain": "off"
69
+ },
70
+ "correctness": {
71
+ "noUnusedVariables": "warn"
72
+ },
73
+ "style": {
74
+ "useNodejsImportProtocol": "off"
75
+ },
76
+ "suspicious": {
77
+ "noConsole": {
78
+ "level": "warn",
79
+ "options": {
80
+ "allow": [
81
+ "warn",
82
+ "error"
83
+ ]
84
+ }
85
+ },
86
+ "noDoubleEquals": {
87
+ "level": "error",
88
+ "options": {
89
+ "ignoreNull": false
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
42
95
  }
43
96
  ```
44
97
 
package/biome.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "files": {
3
+ "includes": ["**", "!**/dist", "!**/node_modules", "!**/.git"]
4
+ },
5
+ "assist": {
6
+ "enabled": false
7
+ },
8
+ "formatter": {
9
+ "indentStyle": "space",
10
+ "indentWidth": 2
11
+ },
12
+ "javascript": {
13
+ "formatter": {
14
+ "trailingCommas": "es5"
15
+ },
16
+ "jsxRuntime": "transparent"
17
+ },
18
+ "linter": {
19
+ "domains": {
20
+ "react": "recommended",
21
+ "test": "recommended"
22
+ },
23
+ "rules": {
24
+ "complexity": {
25
+ "useOptionalChain": "off"
26
+ },
27
+ "correctness": {
28
+ "noUnusedVariables": "warn"
29
+ },
30
+ "style": {
31
+ "useNodejsImportProtocol": "off"
32
+ },
33
+ "suspicious": {
34
+ "noConsole": {
35
+ "level": "warn",
36
+ "options": {
37
+ "allow": ["warn", "error"]
38
+ }
39
+ },
40
+ "noDoubleEquals": {
41
+ "level": "error",
42
+ "options": {
43
+ "ignoreNull": false
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stanlemon/webdev",
3
- "version": "0.2.74",
3
+ "version": "0.2.75",
4
4
  "description": "My typical web development setup, but without all the copy and paste.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -16,8 +16,8 @@
16
16
  "type": "module",
17
17
  "scripts": {
18
18
  "build": "WEBDEV_ENTRY=./example.tsx webpack build",
19
- "lint": "eslint .",
20
- "lint:fix": "eslint --fix .",
19
+ "lint": "biome check .",
20
+ "lint:fix": "biome check --write .",
21
21
  "test": "jest",
22
22
  "tsc": "tsc"
23
23
  },
@@ -29,7 +29,6 @@
29
29
  "@babel/preset-react": "^7.28.5",
30
30
  "@babel/preset-typescript": "^7.28.5",
31
31
  "@peculiar/webcrypto": "^1.5.0",
32
- "@stanlemon/eslint-config": "*",
33
32
  "@testing-library/jest-dom": "^6.9.1",
34
33
  "babel-jest": "^30.3.0",
35
34
  "babel-loader": "^10.1.1",
@@ -57,6 +56,7 @@
57
56
  "@types/react-dom": "19.2.3",
58
57
  "@types/webpack": "5.28.5",
59
58
  "@types/webpack-env": "1.18.8",
59
+ "@biomejs/biome": "^2.4.10",
60
60
  "react": "19.2.4",
61
61
  "react-dom": "19.2.4",
62
62
  "uuid": "13.0.0"
@@ -65,4 +65,4 @@
65
65
  "react": ">=18.0.0",
66
66
  "react-dom": ">=19.1.0"
67
67
  }
68
- }
68
+ }
package/tsconfig.json CHANGED
@@ -2,10 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "noEmit": true,
4
4
  "target": "ESNext",
5
- "lib": [
6
- "ESNext",
7
- "DOM",
8
- ],
5
+ "lib": ["ESNext", "DOM"],
9
6
  "declaration": true,
10
7
  "declarationMap": true,
11
8
  "allowJs": true,
@@ -21,4 +18,4 @@
21
18
  "isolatedModules": true,
22
19
  "jsx": "react-jsx"
23
20
  }
24
- }
21
+ }
package/eslint.config.js DELETED
@@ -1 +0,0 @@
1
- export { default } from "@stanlemon/eslint-config";