ci: moving prettier to eslint

This commit is contained in:
Hydra 2024-05-13 10:46:22 +01:00
parent bdb58e0e59
commit 914e0d82e6
No known key found for this signature in database
3 changed files with 1 additions and 5 deletions

View File

@ -6,7 +6,7 @@ module.exports = {
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
"@electron-toolkit/eslint-config-ts/recommended",
"prettier",
"plugin:prettier/recommended",
],
rules: {
"@typescript-eslint/explicit-function-return-type": "off",

View File

@ -21,9 +21,6 @@ jobs:
- name: Validate current commit (last commit) with commitlint
run: npx commitlint --last --verbose
- name: Check formatting
run: yarn format:check
- name: Typecheck
run: yarn typecheck

View File

@ -12,7 +12,6 @@
"type": "module",
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",