Skip to content

Commit

Permalink
chore: upgrade prettier v3
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Jan 12, 2024
1 parent 9613f9b commit f332271
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"semi": false,
"tabWidth": 4,
"arrowParens": "avoid",
"trailingComma": "es5",
"overrides": [
{
"files": "*.md",
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@
},
"devDependencies": {
"@eslint/js": "^8.43.0",
"@types/eslint": "^8.44.6",
"@types/eslint": "^8.56.2",
"@typescript-eslint/parser": "^5.60.0",
"eslint": "^8",
"eslint-config-prettier": "^8.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-doc-generator": "^1.6.1",
"eslint-plugin-eslint-plugin": "^5.2.1",
"eslint-plugin-n": "file:.",
"fast-glob": "^3.2.12",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"lint-staged": "^15.2.0",
"markdownlint-cli": "^0.35.0",
"mocha": "^10.2.0",
"npm-run-all2": "^6.1.1",
"nyc": "^15.1.0",
"opener": "^1.5.2",
"prettier": "^2.8.8",
"prettier": "^3.1.1",
"punycode": "^2.3.0",
"release-it": "^15.11.0",
"rimraf": "^5.0.1",
Expand All @@ -52,7 +52,7 @@
"build": "node scripts/update",
"clean": "rimraf .nyc_output coverage",
"coverage": "opener ./coverage/lcov-report/index.html",
"format": "prettier --loglevel warn --write \"**/*.{js,css,md}\"",
"format": "prettier --write \"**/*.js\"",
"lint": "npm-run-all \"lint:*\"",
"lint:docs": "markdownlint \"**/*.md\"",
"lint:eslint-docs": "npm run update:eslint-docs -- --check",
Expand Down Expand Up @@ -107,7 +107,8 @@
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{json,js}": "prettier --write --ignore-path .eslintignore"
"*.{json,js}": "prettier --write --ignore-path .eslintignore",
"*.md": "markdownlint --fix"
},
"imports": {
"#eslint-rule-tester": "./tests/eslint-rule-tester.js"
Expand Down

0 comments on commit f332271

Please sign in to comment.