diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 564daa84..e23081dc 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -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", diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5d5fc277..af4cbae7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/package.json b/package.json index 85043c80..e59d3e12 100644 --- a/package.json +++ b/package.json @@ -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",