Skip to content

Commit

Permalink
chore(package): update format and lint scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
envin3 committed Apr 4, 2024
1 parent 57b5b1f commit 5cdda95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
}
},
"rules": {
"no-unused-vars": "error",
"prettier/prettier": "error",
"no-console": [
"error",
{
"allow": ["warn", "error"]
"allow": ["info", "warn", "error"]
}
],
"import/newline-after-import": "error",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"deploy": "node ./scripts/check-env.js && npm ci && npm run build && npx thirdweb upload dist",
"create-version-file": "node ./scripts/generate-buildno.cjs",
"prepare": "husky install",
"lint": "eslint --ext .js,.jsx .",
"lint": "eslint --fix --ext .js,.jsx .",
"format": "prettier --config ./.prettierrc --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json}\"",
"changeset-version": "changeset version && npm i --package-lock-only"
},
"dependencies": {
Expand Down

0 comments on commit 5cdda95

Please sign in to comment.