Skip to content

Commit

Permalink
Merge pull request #619 from tuanchauict/fix-lint
Browse files Browse the repository at this point in the history
Fix lint
  • Loading branch information
tuanchauict authored Dec 11, 2024
2 parents 647d7e1 + f622cbb commit 4f352e7
Show file tree
Hide file tree
Showing 26 changed files with 405 additions and 314 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/code-heal-check-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,26 @@ jobs:
run: cd monosketch-svelte && pnpm install
- name: Build Svelte
run: cd monosketch-svelte && pnpm run build

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install pnpm
run: npm install -g pnpm
- name: Cache node modules
uses: actions/cache@v4
with:
path: |
monosketch-svelte/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('monosketch-svelte/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: cd monosketch-svelte && pnpm install
- name: Run Lint
run: cd monosketch-svelte && pnpm run lint
10 changes: 5 additions & 5 deletions monosketch-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@tsconfig/svelte": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^8.5.0",
"eslint": "^9.10.0",
"eslint": "^8.57.1",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-svelte": "^2.43.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-svelte": "^2.46.1",
"sass": "^1.78.0",
"svelte": "^4.2.19",
"svelte-check": "^4.1.1",
Expand Down
Loading

0 comments on commit 4f352e7

Please sign in to comment.