Skip to content

Commit

Permalink
Merge pull request #252 from dwightjack/renovate/major-eslint-monorepo
Browse files Browse the repository at this point in the history
chore(deps): update dependency eslint to v9
  • Loading branch information
dwightjack authored Jul 1, 2024
2 parents 0974d98 + 1f82f53 commit 8c4d826
Show file tree
Hide file tree
Showing 12 changed files with 297 additions and 240 deletions.
48 changes: 0 additions & 48 deletions .eslintrc.json

This file was deleted.

5 changes: 3 additions & 2 deletions .prettierrc.cjs → .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
plugins: [require.resolve('prettier-plugin-astro')],
/** @type {import("prettier").Config} */
export default {
plugins: ['prettier-plugin-astro'],
printWidth: 80,
trailingComma: 'all',
arrowParens: 'always',
Expand Down
15 changes: 15 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// @ts-check
import eslint from '@eslint/js';
import { configs, config } from 'typescript-eslint';
import astro from 'eslint-plugin-astro';
import prettier from 'eslint-plugin-prettier/recommended';

export default config(
eslint.configs.recommended,
...configs.recommended,
prettier,
...astro.configs.recommended,
{
ignores: ['src/env.d.ts'],
},
);
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@
},
"devDependencies": {
"@csstools/postcss-global-data": "2.1.1",
"@eslint/js": "^9.6.0",
"@percy/cli": "1.28.7",
"@percy/playwright": "1.0.5",
"@playwright/test": "^1.42.0",
"@typescript-eslint/eslint-plugin": "7.12.0",
"@typescript-eslint/parser": "7.12.0",
"eslint": "8.57.0",
"@types/eslint__js": "^8.42.3",
"@typescript-eslint/parser": "8.0.0-alpha.38",
"eslint": "9.6.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-astro": "1.2.2",
"eslint-plugin-prettier": "5.1.3",
Expand All @@ -63,6 +64,7 @@
"stylelint-config-property-sort-order-smacss": "10.0.0",
"stylelint-config-standard": "36.0.0",
"stylelint-use-logical": "2.1.2",
"typescript": "5.4.5"
"typescript": "5.4.5",
"typescript-eslint": "8.0.0-alpha.38"
}
}
Loading

0 comments on commit 8c4d826

Please sign in to comment.