Skip to content

Commit

Permalink
Add prettier formatting to linting script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewiggins committed Mar 24, 2023
1 parent e0a6c85 commit 33118d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@
"test:karma:test-utils": "cross-env PERFORMANCE=false COVERAGE=false BABEL_NO_MODULES=true karma start karma.conf.js --grep=test-utils/test/shared/**.js --no-single-run",
"test:karma:bench": "cross-env PERFORMANCE=true COVERAGE=false BABEL_NO_MODULES=true karma start karma.conf.js --grep=test/benchmarks/**.js --single-run",
"benchmark": "npm run test:karma:bench -- no-single-run",
"lint": "eslint src test debug compat hooks test-utils",
"format": "prettier --write '**/*.{js,jsx,mjs,cjs,ts,tsx,yml,json,html}'"
"lint": "run-s eslint format:check",
"eslint": "eslint src test debug compat hooks test-utils",
"format": "prettier --write '**/*.{js,jsx,mjs,cjs,ts,tsx,yml,json,html}'",
"format:check": "prettier --check '**/*.{js,jsx,mjs,cjs,ts,tsx,yml,json,html}'"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit 33118d4

Please sign in to comment.