Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Sparticuz/eslint-config
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.3.7
Choose a base ref
...
head repository: Sparticuz/eslint-config
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.0.1
Choose a head ref
  • 10 commits
  • 19 files changed
  • 2 contributors

Commits on Aug 16, 2024

  1. Update deps

    Sparticuz committed Aug 16, 2024
    Copy the full SHA
    83a8c45 View commit details
  2. update tsconfig for verbatimModuleSyntax

    because consistent-type-imports is no longer in tseslint/rec
    Sparticuz committed Aug 16, 2024
    Copy the full SHA
    305fed7 View commit details
  3. Linting

    Sparticuz committed Aug 16, 2024
    Copy the full SHA
    c8dfeca View commit details
  4. Upgrade vitest plugin

    Sparticuz committed Aug 16, 2024
    Copy the full SHA
    3d78268 View commit details
  5. cleanup no-unsanitized until they support eslint9

    Sparticuz committed Aug 16, 2024
    Copy the full SHA
    8855094 View commit details
  6. lint

    Sparticuz committed Aug 16, 2024
    Copy the full SHA
    60fbdd9 View commit details

Commits on Aug 19, 2024

  1. Merge pull request #174 from Sparticuz/breaking/eslint9

    Sparticuz authored Aug 19, 2024
    Copy the full SHA
    c3a7475 View commit details
  2. ci: version bump to v8.3.8

    Automated Version Bump committed Aug 19, 2024
    Copy the full SHA
    c6dd748 View commit details
  3. 9.0.0

    Sparticuz committed Aug 19, 2024
    Copy the full SHA
    ed9f6ab View commit details
  4. ci: version bump to v9.0.1

    Automated Version Bump committed Aug 19, 2024
    Copy the full SHA
    90e739a View commit details
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ import tseslint from "typescript-eslint";

export default tseslint.config(
{
ignores: ["dist/**/*"],
ignores: ["dist"],
},
...myConfig,
);
@@ -56,15 +56,16 @@ export default config;
"declaration": true,
"declarationMap": true,
"exactOptionalPropertyTypes": false,
"lib": ["DOM", "ES2023"],
"module": "NodeNext",
"moduleResolution": "nodenext",
"noUnusedLocals": false,
"outDir": "dist",
"resolveJsonModule": true,
"sourceMap": true
"sourceMap": true,
"verbatimModuleSyntax": true
},
"include": ["src", "test"]
"include": ["src", "test", "vitest.config.ts"],
"exclude": ["node_modules", "dist"]
}
```

@@ -91,8 +92,8 @@ import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
coverage: {
reportOnFailure: true,
reporter: ["json", "json-summary", "text"],
reportOnFailure: true,
},
env: loadEnv("", process.cwd(), ""),
},
12 changes: 6 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//@ts-check
import tseslint from "typescript-eslint";

import myConfig from "./dist/eslint.config.js";

export default [
...myConfig,
{
ignores: ["dist"],
},
];
export default tseslint.config(...myConfig, {
ignores: ["dist"],
});
Loading