Skip to content

Commit

Permalink
chore: prettier settings
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Sep 30, 2024
1 parent 91fb4e0 commit 5efb96f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 28 deletions.
9 changes: 8 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "avoid",
"proseWrap": "always",
"endOfLine": "lf",
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
Expand All @@ -7,4 +14,4 @@
"htmlWhitespaceSensitivity": "strict",
"plugins": [],
"useTabs": false
}
}
16 changes: 0 additions & 16 deletions .prettierrc.json

This file was deleted.

21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,21 @@
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
"package:watch": "npm run package -- --watch",
"test": "npx jest",
"_test": "npx jest",
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package",
"prepare": "husky",
"_": "_",
"_start": "tsx build/esbuild-server.ts",
"_build": "tsx build/esbuild-build.ts",
"_format": "run-s format:lint format:prettier format:cspell",
"_format:lint": "eslint --fix .",
"_format:prettier": "prettier --write .",
"_format:cspell": "cspell **/*",
"_knip": "knip --config .github/knip.ts",
"_knip-ci": "knip --no-exit-code --reporter json --config .github/knip.ts",
"_prepare": "husky install",
"_test": "jest --setupFiles dotenv/config --coverage",
"_cy:open": "cypress open",
"_cy:run": "cypress run"
"format": "run-s format:lint format:prettier format:cspell",
"format:lint": "eslint --fix .",
"format:prettier": "prettier --write .",
"format:cspell": "cspell **/*",
"knip": "knip --config .github/knip.ts",
"knip-ci": "knip --no-exit-code --reporter json --config .github/knip.ts",
"test": "jest --setupFiles dotenv/config --coverage",
"cy:open": "cypress open",
"cy:run": "cypress run"
},
"jest": {
"preset": "ts-jest",
Expand Down

0 comments on commit 5efb96f

Please sign in to comment.