Temp eslint to v8.56.0, peer incompatibility in @typescript-eslint/eslint-plugin

This commit is contained in:
prototypa
2024-04-11 06:51:14 -04:00
parent 84d4f46aa8
commit 4bd72c9f8e
4 changed files with 1198 additions and 3406 deletions

View File

@@ -13,6 +13,7 @@ export default [
languageOptions: { languageOptions: {
globals: { globals: {
...globals.browser, ...globals.browser,
...globals.node,
}, },
}, },
}, },

4594
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@
"type": "module", "type": "module",
"private": true, "private": true,
"engines": { "engines": {
"node": ">=18.20.2" "node": ">=18.14.1"
}, },
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
@@ -42,7 +42,7 @@
"@typescript-eslint/eslint-plugin": "^7.6.0", "@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0", "@typescript-eslint/parser": "^7.6.0",
"astro-eslint-parser": "^0.17.0", "astro-eslint-parser": "^0.17.0",
"eslint": "^9.0.0", "eslint": "^8.56.0",
"eslint-plugin-astro": "^0.34.0", "eslint-plugin-astro": "^0.34.0",
"eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-jsx-a11y": "^6.8.0",
"globals": "^15.0.0", "globals": "^15.0.0",

View File

@@ -1,4 +1,5 @@
const defaultTheme = require('tailwindcss/defaultTheme'); import defaultTheme from 'tailwindcss/defaultTheme';
import typographyPlugin from '@tailwindcss/typography';
module.exports = { module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
@@ -18,6 +19,6 @@ module.exports = {
}, },
}, },
}, },
plugins: [require('@tailwindcss/typography')], plugins: [typographyPlugin],
darkMode: 'class', darkMode: 'class',
}; };