four-stroke 0.3.0 → 0.4.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/oxlint.config.mjs CHANGED
@@ -63,6 +63,18 @@ export default defineConfig({
63
63
  "eslint/prefer-named-capture-group": "off",
64
64
  // Stylesheets can only be pulled in for their side effects.
65
65
  "import/no-unassigned-import": ["error", { allow: ["**/*.css", "**/*.scss"] }],
66
+ // Bug-catching rules oxc files under pedantic or restriction, which are not enabled wholesale.
67
+ "typescript/no-misused-promises": "error",
68
+ "typescript/switch-exhaustiveness-check": "error",
69
+ "typescript/only-throw-error": "error",
70
+ "eslint/array-callback-return": "error",
71
+ "typescript/no-deprecated": "error",
72
+ "eslint/eqeqeq": "error",
73
+ "typescript/no-explicit-any": "error",
74
+ "typescript/no-dynamic-delete": "error",
75
+ "import/no-cycle": "error",
76
+ "eslint/no-empty": "error",
77
+ "typescript/use-unknown-in-catch-callback-variable": "error",
66
78
  "react/jsx-max-depth": ["error", { max: 4 }],
67
79
  "react/react-in-jsx-scope": "off", // Automatic JSX runtime (tsconfig `jsx: react-jsx`)
68
80
  "react/function-component-definition": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-stroke",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Simple Cloudflare Worker SSR SPA framework",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,8 +1,6 @@
1
1
  minimumReleaseAge: 4320
2
- minimumReleaseAgeExclude:
3
- - "jwk-subtle"
4
- - "pbkdf-subtle"
5
- - "eslint-config-two-stroke"
6
2
  trustPolicy: no-downgrade
3
+ trustPolicyExclude:
4
+ - "why-is-node-running@3.2.2"
7
5
  ignoreScripts: true
8
6
  blockExoticSubdeps: true