Skip to content

Commit

Permalink
Merge pull request #41 from mocyuto/fix-linter
Browse files Browse the repository at this point in the history
fix linter
  • Loading branch information
mocyuto committed Jan 2, 2024
2 parents 9b5a0d8 + 6f5b9b6 commit 39bb60f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-env node */
module.exports = {
extends: [
"eslint:recommended",
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: npm install, build, and test
- name: npm install, build
run: |
npm install
npm run build
npm run lint
npm run test
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "my portfolio",
"main": "index.js",
"scripts": {
"lint": "eslint 'src/**'",
"format": "eslint --fix 'src/**' && prettier --write",
"lint": "eslint .",
"format": "eslint --fix .",
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "astro dev",
"start": "astro dev",
Expand Down

0 comments on commit 39bb60f

Please sign in to comment.