Skip to content

Commit

Permalink
Merge pull request #10 from strvcom:chore/eslint/v9
Browse files Browse the repository at this point in the history
chore: upgrade to ESLint v9
  • Loading branch information
robertrossmann authored Jan 24, 2025
2 parents 21c5ffa + 5696d96 commit f947f5a
Show file tree
Hide file tree
Showing 4 changed files with 1,216 additions and 1,117 deletions.
8 changes: 1 addition & 7 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const globs = {
dts: '**/*.d.ts',
}

/** @type {Array<import("eslint").Linter.FlatConfig>} */
/** @type {Array<import("eslint").Linter.Config>} */
const config = [
{ linterOptions: {
reportUnusedDisableDirectives: true,
Expand All @@ -32,12 +32,6 @@ const config = [
{ files: [globs.ts], ...tsopt },
{ files: [globs.ts], ...tsstyle },

{ files: [globs.ts],
languageOptions: {
parserOptions: { project: './tsconfig.json' },
},
rules: {} },

{ files: [globs.mjs, globs.ts],
rules: {
// We depend on TypeScript and tests to catch unresolved module paths
Expand Down
Loading

0 comments on commit f947f5a

Please sign in to comment.