mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-02 16:23:48 +03:00
ci: moving prettier to eslint
This commit is contained in:
parent
bdb58e0e59
commit
914e0d82e6
@ -6,7 +6,7 @@ module.exports = {
|
|||||||
"plugin:react-hooks/recommended",
|
"plugin:react-hooks/recommended",
|
||||||
"plugin:jsx-a11y/recommended",
|
"plugin:jsx-a11y/recommended",
|
||||||
"@electron-toolkit/eslint-config-ts/recommended",
|
"@electron-toolkit/eslint-config-ts/recommended",
|
||||||
"prettier",
|
"plugin:prettier/recommended",
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
"@typescript-eslint/explicit-function-return-type": "off",
|
"@typescript-eslint/explicit-function-return-type": "off",
|
||||||
|
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
@ -21,9 +21,6 @@ jobs:
|
|||||||
- name: Validate current commit (last commit) with commitlint
|
- name: Validate current commit (last commit) with commitlint
|
||||||
run: npx commitlint --last --verbose
|
run: npx commitlint --last --verbose
|
||||||
|
|
||||||
- name: Check formatting
|
|
||||||
run: yarn format:check
|
|
||||||
|
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: yarn typecheck
|
run: yarn typecheck
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"format:check": "prettier --check .",
|
|
||||||
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
||||||
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
||||||
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
||||||
|
Loading…
Reference in New Issue
Block a user