Skip to content

Commit

Permalink
chore: fix lint job + add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed May 2, 2021
1 parent 647dd2c commit 49a3297
Show file tree
Hide file tree
Showing 4 changed files with 3,531 additions and 2,128 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "eslint-config-atomic",
"ignorePatterns": ["dist/", "node_modules/"]
}
18 changes: 6 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,17 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
# - name: Commit lint ✨
# uses: wagoid/commitlint-github-action@v2

- uses: UziTech/action-setup-atom@v1
- name: Setup PNPM
uses: pnpm/action-setup@master
with:
version: latest
- name: Commit lint ✨
uses: wagoid/commitlint-github-action@v2

- name: Install dependencies
run: pnpm install
run: npm install

- name: Format ✨
run: pnpm test.format
run: npm run test.format

# - name: Lint ✨
# run: pnpm test.lint
- name: Lint ✨
run: npm run test.lint

Release:
needs: [Test, Lint]
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.14",
"eslint-config-atomic": "^1.14.2",
"npm-check-updates": "11.3.0",
"prettier-config-atomic": "^1.0.1"
}
Expand Down
Loading

0 comments on commit 49a3297

Please sign in to comment.