Skip to content

Commit

Permalink
chore: migrate to eslint flat config
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanshatford committed Apr 8, 2024
1 parent c06b17f commit 7ccadad
Show file tree
Hide file tree
Showing 7 changed files with 300 additions and 340 deletions.
11 changes: 0 additions & 11 deletions .eslintignore

This file was deleted.

32 changes: 0 additions & 32 deletions .eslintrc.js

This file was deleted.

5 changes: 0 additions & 5 deletions .prettierrc

This file was deleted.

7 changes: 7 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

/** @type {import('eslint').Linter.FlatConfig[]} */
export default tseslint.config(eslint.configs.recommended, ...tseslint.configs.recommended, {
ignores: ['.DS_Store', 'node_modules/', '__generated__', 'dist/'],
});
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,20 @@
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@commitlint/types": "^19.0.3",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@types/node": "^20.11.20",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"eslint": "^8.56.0",
"@types/node": "^20.12.5",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"typescript": "^5.4.4",
"typescript-eslint": "^7.5.0",
"uglifyjs-folder": "^3.3.0"
},
"packageManager": "pnpm@8.15.1+sha256.245fe901f8e7fa8782d7f17d32b6a83995e2ae03984cb5b62b8949bfdc27c7b5",
Expand Down
Loading

0 comments on commit 7ccadad

Please sign in to comment.