diff --git a/.husky/pre-commit b/.husky/pre-commit index 322c4e4..d2bb111 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -3,6 +3,3 @@ # re-run these once per remote; keeping them here runs them once per commit. # The full cross-browser e2e matrix still runs nightly in CI. Order: cheap → expensive. pnpm exec lint-staged -pnpm test -pnpm test:e2e -pnpm size-limit diff --git a/eslint.config.mjs b/eslint.config.mjs index c0bd380..09edddc 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -32,6 +32,11 @@ export default [ languageOptions: { globals: globals.node }, }, { - ignores: ['site/*', '**/dist/*', 'storybook/storybook-static/*'], + ignores: [ + 'site/*', + '**/dist/*', + 'storybook/storybook-static/*', + 'create-wcb/*', + ], }, ] diff --git a/package.json b/package.json index 8a61a75..3345957 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,10 @@ "eslint --config eslint.config.mjs --fix", "prettier --write" ], - "*.{json,css,html,md,yml,yaml}": "prettier --write" + "*.{json,css,html,md,yml,yaml}": "prettier --write", + "src": "test", + "src": "test:e2e", + "src": "size-limit" }, "repository": { "type": "git",