Stop using a 3rd-party prettier

pull/24/head
Skyler Grey 3 years ago
parent e0db2ec48c
commit e797014404
Signed by: Minion3665
GPG Key ID: 1AFD10256B3C714D

@ -24,7 +24,5 @@ jobs:
- run: yarn install --immutable - run: yarn install --immutable
- name: Compile - name: Compile
run: yarn build run: yarn build
- name: Run eslint - name: Run prettier and eslint
run: yarn lint run: yarn lint-ci
- name: Run prettier
uses: actionsx/prettier@v2

@ -36,6 +36,7 @@
"lint": "echo 'Style checking...'; prettier --check .; echo 'Linting...'; eslint src; echo 'To auto-fix everything possible, please run `yarn lint-fix`'; true", "lint": "echo 'Style checking...'; prettier --check .; echo 'Linting...'; eslint src; echo 'To auto-fix everything possible, please run `yarn lint-fix`'; true",
"lint-fix": "echo 'Fixing eslint issues...'; eslint src --fix; echo 'Reformatting...'; prettier --write --loglevel warn --cache .; true", "lint-fix": "echo 'Fixing eslint issues...'; eslint src --fix; echo 'Reformatting...'; prettier --write --loglevel warn --cache .; true",
"lint-list": "echo 'Style checking...'; prettier --check .; echo 'Linting...'; eslint src; echo 'To view errors in more detail, please run `yarn lint`'; true", "lint-list": "echo 'Style checking...'; prettier --check .; echo 'Linting...'; eslint src; echo 'To view errors in more detail, please run `yarn lint`'; true",
"lint-ci" : "echo 'Style checking...' && prettier --check . && echo 'Linting...' && eslint src",
"setup": "node Installer.js", "setup": "node Installer.js",
"win-force-build": "clear | rm -r dist | tsc-suppress" "win-force-build": "clear | rm -r dist | tsc-suppress"
}, },

Loading…
Cancel
Save