-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
250dced
commit f0f3f62
Showing
4 changed files
with
1,058 additions
and
6,336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: ESLint | ||
on: | ||
pull_request: | ||
jobs: | ||
eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Install modules | ||
run: pnpm install --frozen-lockfile | ||
- name: ESLint Action | ||
run: eslint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import pluginJs from "@eslint/js"; | ||
import eslintPluginSvelte from "eslint-plugin-svelte"; | ||
import globals from "globals"; | ||
import tseslint from "typescript-eslint"; | ||
|
||
export default [ | ||
...eslintPluginSvelte.configs["flat/recommended"], | ||
{ | ||
files: ["apps/**/*.*", "packages/**/*.*"], | ||
}, | ||
{ | ||
languageOptions: { | ||
globals: globals.browser, | ||
}, | ||
}, | ||
pluginJs.configs.recommended, | ||
...tseslint.configs.recommended, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,15 @@ | |
"prepare": "husky install" | ||
}, | ||
"devDependencies": { | ||
"@eslint/js": "^9.7.0", | ||
"eslint": "~9.7.0", | ||
"eslint-plugin-svelte": "^2.42.0", | ||
"globals": "^15.8.0", | ||
"prettier": "^3.2.5", | ||
"svelte": "^4.2.18", | ||
"turbo": "^2.0.6", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.4.5", | ||
"typescript-eslint": "^7.16.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
|
Oops, something went wrong.