Skip to content

Commit

Permalink
feat: eslint9 all deps (#1462)
Browse files Browse the repository at this point in the history
* chore: Remove ESLint configuration files and ignore patterns

* chore: Remove ESLint configuration files and ignore patterns

* chore: data attributes
  • Loading branch information
yacosta738 authored Oct 23, 2024
1 parent e797824 commit dc07ab2
Show file tree
Hide file tree
Showing 10 changed files with 1,581 additions and 1,545 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"

# To install more global node packages
RUN su node -c "npm install -g pnpm@8 ts-node"
RUN su node -c "npm install -g pnpm@9 ts-node"
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

96 changes: 0 additions & 96 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
package-manager: pnpm@9.12.2 # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
env:
FORMSPREE: ${{ secrets.FORMSPREE }}
outputs:
Expand Down
12 changes: 12 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import eslintPluginAstro from 'eslint-plugin-astro';
export default [
// add more generic rule sets here, such as:
// js.configs.recommended,
...eslintPluginAstro.configs.recommended,
{
rules: {
// override/add rules settings here, such as:
// "astro/no-set-html-directive": "error"
},
},
];
56 changes: 29 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"preview": "astro preview",
"prepare": "husky install",
"format": "prettier --write . --plugin=prettier-plugin-astro",
"lint:eslint": "eslint . --ext .js,.astro,.ts,.tsx,.vue --debug",
"lint:eslint:fix": "eslint . --ext .js,.astro,.ts,.tsx,.vue --fix --debug",
"lint:eslint": "eslint .",
"lint:eslint:fix": "eslint . --fix",
"test": "npx -y concurrently \"pnpm run test:unit\" \"pnpm run test:e2e\"",
"test:unit": "vitest",
"test:playwright": "playwright test",
Expand All @@ -24,26 +24,26 @@
"@astrojs/rss": "4.0.9",
"@astrojs/sitemap": "3.2.1",
"@astrojs/tailwind": "5.1.2",
"@iconify-json/akar-icons": "^1.1.23",
"@iconify-json/charm": "^1.1.12",
"@iconify-json/cib": "^1.1.8",
"@iconify-json/clarity": "^1.1.12",
"@iconify-json/ic": "^1.1.17",
"@iconify-json/ion": "^1.1.15",
"@iconify-json/mdi": "^1.1.64",
"@iconify-json/ph": "^1.1.11",
"@iconify-json/ri": "^1.1.19",
"@iconify-json/simple-icons": "^1.1.92",
"@iconify-json/teenyicons": "^1.1.9",
"@iconify-json/uit": "^1.1.8",
"@iconify-json/akar-icons": "^1.2.1",
"@iconify-json/charm": "^1.2.1",
"@iconify-json/cib": "^1.2.1",
"@iconify-json/clarity": "^1.2.1",
"@iconify-json/ic": "^1.2.1",
"@iconify-json/ion": "^1.2.1",
"@iconify-json/mdi": "^1.2.1",
"@iconify-json/ph": "^1.2.1",
"@iconify-json/ri": "^1.2.2",
"@iconify-json/simple-icons": "^1.2.9",
"@iconify-json/teenyicons": "^1.2.1",
"@iconify-json/uit": "^1.2.1",
"@playwright/test": "1.48.1",
"@semantic-release/exec": "^6.0.3",
"@tailwindcss/aspect-ratio": "0.4.2",
"@tailwindcss/forms": "0.5.9",
"@tailwindcss/typography": "0.5.15",
"@typescript-eslint/eslint-plugin": "8.11.0",
"@typescript-eslint/parser": "8.11.0",
"@vite-pwa/astro": "^0.4.0",
"@vite-pwa/astro": "^0.4.3",
"@vueuse/core": "11.1.0",
"astro": "4.16.7",
"astro-compress": "2.3.3",
Expand All @@ -54,14 +54,15 @@
"astro-seo": "0.8.4",
"conventional-changelog-conventionalcommits": "^8.0.0",
"dompurify": "3.1.7",
"eslint": "^8.56.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^1.0.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-astro": "^1.3.0",
"eslint-plugin-jsx-a11y": "^6.10.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-prettier-vue": "^5.0.0",
"eslint-plugin-vue": "^9.21.1",
"flowbite": "^2.3.0",
"eslint-plugin-vue": "^9.29.1",
"flowbite": "^2.5.2",
"husky": "9.1.6",
"locale-emoji": "0.3.0",
"marked": "14.1.3",
Expand All @@ -76,17 +77,18 @@
"rehype-accessible-emojis": "^0.3.2",
"remark-toc": "^9.0.0",
"tailwindcss": "3.4.14",
"vitest": "^2.0.0",
"workbox-window": "^7.0.0"
"vitest": "^2.1.3",
"workbox-window": "^7.1.0"
},
"dependencies": {
"@astrojs/ts-plugin": "^1.5.3",
"@astrojs/vue": "^4.0.8",
"@vueuse/integrations": "^11.0.0",
"@astrojs/ts-plugin": "^1.10.3",
"@astrojs/vue": "^4.5.2",
"@vueuse/integrations": "^11.1.0",
"fuse.js": "^7.0.0",
"globals": "^15.11.0",
"sass": "1.80.3",
"sharp": "0.33.5",
"vue": "^3.4.19"
"vue": "^3.5.12"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit dc07ab2

Please sign in to comment.