Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
joephela committed Jul 11, 2024
1 parent ff53434 commit b2124a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .changeset/tidy-steaks-arrive.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
'eslint-plugin-widen': major
---

Update to eslint 9, Apps will need to be on eslint 9+ alongside this update.
They will also need to convert their .eslintrc and .eslint ignore into the new
Update to eslint 9, apps will need to be on eslint 9+ alongside this update.
They will also need to convert their .eslintrc and .eslintignore into the new
format of eslint.config.mjs. Here is a migration guide that goes over the basics
https://eslint.org/docs/latest/use/configure/migration-guide. For general usage
and a sample eslint.config.mjs see the updated readme in this repo.
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { fileURLToPath } from 'node:url'

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
// This is in place until https://github.com/typescript-eslint/typescript-eslint
// updates to v8
const compat = new FlatCompat({
allConfig: js.configs.all,
baseDirectory: __dirname,
Expand Down

0 comments on commit b2124a0

Please sign in to comment.