-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade to ESLint v9 and solid linting
- Loading branch information
1 parent
892131a
commit 407a399
Showing
13 changed files
with
1,666 additions
and
2,040 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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"type": "module", | ||
"version": "0.11.3", | ||
"private": true, | ||
"packageManager": "[email protected].6", | ||
"packageManager": "[email protected].7", | ||
"scripts": { | ||
"build": "pnpm -r --filter=./packages/** run build", | ||
"dev:prepare": "pnpm -r --filter=./packages/** run dev:prepare", | ||
|
@@ -18,15 +18,15 @@ | |
"prepare": "pnpm run dev:prepare" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.12.1", | ||
"@types/node": "^20.12.4", | ||
"@antfu/eslint-config": "^2.15.0", | ||
"@types/node": "^20.12.7", | ||
"bumpp": "^9.4.0", | ||
"eslint": "^8.57.0", | ||
"happy-dom": "^13.10.1", | ||
"typescript": "^5.4.4", | ||
"eslint": "^9.0.0", | ||
"happy-dom": "^14.7.1", | ||
"typescript": "^5.4.5", | ||
"unbuild": "^3.0.0-rc.1", | ||
"vite": "^5.2.8", | ||
"vitest": "^1.4.0", | ||
"vue-tsc": "^2.0.10" | ||
"vite": "^5.2.9", | ||
"vitest": "^1.5.0", | ||
"vue-tsc": "^2.0.13" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
"name": "@unlazy/core", | ||
"type": "module", | ||
"version": "0.11.3", | ||
"packageManager": "[email protected].6", | ||
"packageManager": "[email protected].7", | ||
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs", | ||
"author": "Johann Schopplich <pkg@johannschopplich.com>", | ||
"author": "Johann Schopplich <hello@johannschopplich.com>", | ||
"license": "MIT", | ||
"homepage": "https://unlazy.byjohann.dev", | ||
"repository": { | ||
|
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"name": "@unlazy/nuxt", | ||
"version": "0.11.3", | ||
"packageManager": "[email protected].6", | ||
"packageManager": "[email protected].7", | ||
"description": "Nuxt lazy loading module for placeholder images", | ||
"author": "Johann Schopplich <pkg@johannschopplich.com>", | ||
"author": "Johann Schopplich <hello@johannschopplich.com>", | ||
"license": "MIT", | ||
"homepage": "https://unlazy.byjohann.dev", | ||
"repository": { | ||
|
@@ -52,9 +52,9 @@ | |
"devDependencies": { | ||
"@nuxt/module-builder": "^0.5.5", | ||
"@nuxt/schema": "^3.11.2", | ||
"@types/node": "^20.12.4", | ||
"@unocss/nuxt": "^0.58.9", | ||
"@unocss/reset": "^0.58.9", | ||
"@types/node": "^20.12.7", | ||
"@unocss/nuxt": "^0.59.4", | ||
"@unocss/reset": "^0.59.4", | ||
"nuxt": "^3.11.2" | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
"name": "@unlazy/react", | ||
"type": "module", | ||
"version": "0.11.3", | ||
"packageManager": "[email protected].6", | ||
"packageManager": "[email protected].7", | ||
"description": "React lazy loading library for placeholder images", | ||
"author": "Johann Schopplich <pkg@johannschopplich.com>", | ||
"author": "Johann Schopplich <hello@johannschopplich.com>", | ||
"license": "MIT", | ||
"homepage": "https://unlazy.byjohann.dev", | ||
"repository": { | ||
|
@@ -48,11 +48,11 @@ | |
"unlazy": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.12.4", | ||
"@types/react": "^18.2.74", | ||
"@types/react-dom": "^18.2.24", | ||
"@eslint-react/eslint-plugin": "^1.5.8", | ||
"@types/node": "^20.12.7", | ||
"@types/react": "^18.2.79", | ||
"@types/react-dom": "^18.2.25", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"eslint-plugin-react": "^7.34.1", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.6", | ||
"react": "^18.2.0", | ||
|
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 |
---|---|---|
@@ -1,22 +1,8 @@ | ||
import solidPlugin from 'eslint-plugin-solid' | ||
import * as tsParser from '@typescript-eslint/parser' | ||
import antfu from '@antfu/eslint-config' | ||
|
||
export default await antfu( | ||
{ | ||
vue: false, | ||
ignores: ['tsconfig.json'], | ||
}, | ||
{ | ||
files: ['**/*.ts', '**/*.tsx'], | ||
plugins: { | ||
solid: solidPlugin, | ||
}, | ||
languageOptions: { | ||
parser: tsParser, | ||
}, | ||
rules: { | ||
...solidPlugin.configs.recommended.rules, | ||
}, | ||
solid: true, | ||
}, | ||
) |
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
"name": "@unlazy/solid", | ||
"type": "module", | ||
"version": "0.11.3", | ||
"packageManager": "[email protected].6", | ||
"packageManager": "[email protected].7", | ||
"description": "Solid lazy loading library for placeholder images", | ||
"author": "Johann Schopplich <pkg@johannschopplich.com>", | ||
"author": "Johann Schopplich <hello@johannschopplich.com>", | ||
"license": "MIT", | ||
"homepage": "https://unlazy.byjohann.dev", | ||
"repository": { | ||
|
@@ -55,7 +55,7 @@ | |
"unlazy": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.12.4", | ||
"@types/node": "^20.12.7", | ||
"eslint-plugin-solid": "^0.13.2", | ||
"solid-js": "^1.8.16", | ||
"tsup": "^8.0.2", | ||
|
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
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
"name": "@unlazy/svelte", | ||
"type": "module", | ||
"version": "0.11.3", | ||
"packageManager": "[email protected].6", | ||
"packageManager": "[email protected].7", | ||
"description": "Svelte lazy loading library for placeholder images", | ||
"author": "Johann Schopplich <pkg@johannschopplich.com>", | ||
"author": "Johann Schopplich <hello@johannschopplich.com>", | ||
"license": "MIT", | ||
"homepage": "https://unlazy.byjohann.dev", | ||
"repository": { | ||
|
@@ -56,10 +56,10 @@ | |
}, | ||
"devDependencies": { | ||
"@sveltejs/adapter-auto": "^3.2.0", | ||
"@sveltejs/kit": "^2.5.5", | ||
"@sveltejs/kit": "^2.5.6", | ||
"@sveltejs/package": "^2.3.1", | ||
"eslint-plugin-svelte": "^2.35.1", | ||
"svelte": "^4.2.12", | ||
"eslint-plugin-svelte": "^2.37.0", | ||
"svelte": "^4.2.15", | ||
"svelte-check": "^3.6.9", | ||
"tslib": "^2.6.2" | ||
} | ||
|
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
"name": "unlazy", | ||
"type": "module", | ||
"version": "0.11.3", | ||
"packageManager": "[email protected].6", | ||
"packageManager": "[email protected].7", | ||
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs", | ||
"author": "Johann Schopplich <pkg@johannschopplich.com>", | ||
"author": "Johann Schopplich <hello@johannschopplich.com>", | ||
"license": "MIT", | ||
"homepage": "https://unlazy.byjohann.dev", | ||
"repository": { | ||
|
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
"name": "@unlazy/vue", | ||
"type": "module", | ||
"version": "0.11.3", | ||
"packageManager": "[email protected].6", | ||
"packageManager": "[email protected].7", | ||
"description": "Vue lazy loading library for placeholder images", | ||
"author": "Johann Schopplich <pkg@johannschopplich.com>", | ||
"author": "Johann Schopplich <hello@johannschopplich.com>", | ||
"license": "MIT", | ||
"homepage": "https://unlazy.byjohann.dev", | ||
"repository": { | ||
|
@@ -59,8 +59,8 @@ | |
"unlazy": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.12.4", | ||
"@types/node": "^20.12.7", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"vue": "^3.4.21" | ||
"vue": "^3.4.23" | ||
} | ||
} |
Oops, something went wrong.