Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 2382f69

Browse files
committed
chore: add lint scripts
1 parent 154acdb commit 2382f69

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
apm install
29-
./node_modules/.bin/atom-package-deps .
29+
# ./node_modules/.bin/atom-package-deps .
3030
3131
- name: Run tests 👩🏾‍💻
3232
run: npm run test
@@ -52,8 +52,8 @@ jobs:
5252
- name: Install dependencies
5353
run: pnpm install
5454

55-
- name: Format ✨
56-
run: pnpm test.format
55+
# - name: Format ✨
56+
# run: pnpm test.format
5757

5858
- name: Lint ✨
5959
run: pnpm test.lint

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,11 @@
159159
}
160160
},
161161
"scripts": {
162-
"test": "apm test",
163-
"lint": "eslint ."
162+
"format": "prettier --write .",
163+
"test.format": "prettier . --check",
164+
"lint": "eslint . --fix",
165+
"test.lint": "eslint .",
166+
"test": "apm test"
164167
},
165168
"dependencies": {
166169
"atom-babel6-transpiler": "1.2.0",

0 commit comments

Comments
 (0)