diff --git a/package.json b/package.json index cb1495c..b5bcdfc 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "build": "npm run lerna:run build", "deps:check": "npm run lerna:run deps:check", "format:check": "prettier --check .", + "postinstall": "lerna bootstrap", "lerna:run": "lerna run --stream --concurrency 1", "lint": "eslint --cache --quiet .", - "postinstall": "lerna bootstrap", "test": "npm run lerna:run test", "test:e2e": "npm run lerna:run test:e2e" }, @@ -41,31 +41,31 @@ ], "overrides": [ { - "files": [ - "packages/**/*.js" - ], "extends": [ "bloq/node", "prettier" + ], + "files": [ + "packages/**/*.js" ] }, { - "files": [ - "*.spec.js" - ], "extends": [ "bloq/mocha", "prettier" + ], + "files": [ + "*.spec.js" ] }, { - "files": [ - "site/**/*.js" - ], "extends": [ "bloq/next", "prettier" ], + "files": [ + "site/**/*.js" + ], "rules": { "@next/next/no-html-link-for-pages": [ "warn", @@ -89,8 +89,13 @@ } }, "lint-staged": { - "*.js": "eslint --cache --fix", - "*.{css,js,json,md}": "prettier --write" + "!(*.js)": [ + "prettier --ignore-unknown --write" + ], + "*.js": [ + "eslint --cache --fix --quiet", + "prettier --write" + ] }, "prettier": { "arrowParens": "avoid",