Skip to content

Commit

Permalink
chore(deps-major): update dependency eslint from 8.56.0 to 9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and gvdp committed Apr 18, 2024
1 parent fec67bd commit 04c663b
Show file tree
Hide file tree
Showing 3 changed files with 490 additions and 83 deletions.
29 changes: 29 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import config from 'eslint-config-gvdp'
// import globals from 'globals'

import react from 'eslint-plugin-react'
import reactRecommended from 'eslint-plugin-react/configs/recommended.js'
// console.log('globals', globals);

export default [
{
ignores: ['.netlify/**', 'dist/**', 'storybook-static/**'],
},
...config,
{
files: ['**/*.{js,jsx,mjs,cjs,ts,tsx}'],
...reactRecommended,
settings: {
react: {
version: 'detect', // React version. "detect" automatically picks the version you have installed.
},
},
languageOptions: {
...reactRecommended.languageOptions,
// globals: {
// ...globals.serviceworker,
// ...globals.browser,
// },
},
},
]
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"format": "prettier . --write --plugin prettier-plugin-astro --plugin prettier-plugin-tailwindcss",
"lint": "concurrently --group --prefix-colors auto \"npm:lint:*\"",
"lint:astro": "astro check",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx,.astro,.mjs,.cjs .",
"lint:js": "eslint --cache .",
"prepare": "husky",
"serve": "astro preview",
"start": "CONTENTFUL_ENV=staging astro dev",
Expand Down Expand Up @@ -85,11 +85,12 @@
"chromatic": "11.0.0",
"concurrently": "8.2.2",
"cross-env": "7.0.3",
"eslint": "8.56.0",
"eslint": "9.0.0",
"eslint-config-gvdp": "1.0.3",
"eslint-plugin-astro": "0.31.4",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react": "7.34.1",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"nodemon": "3.0.3",
Expand Down

1 comment on commit 04c663b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.