Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
919 changes: 0 additions & 919 deletions index.cjs

This file was deleted.

4 changes: 0 additions & 4 deletions index.d.cts

This file was deleted.

4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type TSESLint } from '@typescript-eslint/utils';

declare const config: TSESLint.Linter.Config;
export = config;
declare const config: TSESLint.Linter.FlatConfig[];
export default config;
962 changes: 503 additions & 459 deletions index.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"Karl Horky <[email protected]>"
],
"type": "module",
"main": "index.cjs",
"main": "index.js",
"bin": {
"upleveled-eslint-install": "bin/install.js"
},
"files": [
"index.cjs",
"index.d.cts",
"index.js",
"index.d.ts",
"bin",
"templates",
"tsconfig.base.json"
Expand All @@ -35,6 +35,7 @@
"postpublish": "cd __tests__ && pnpm update-config-version"
},
"devDependencies": {
"@types/eslint": "8.44.7",
"@types/prettier": "2.7.3",
"@typescript-eslint/utils": "6.10.0",
"eslint-config-upleveled": "5.1.3",
Expand Down Expand Up @@ -64,6 +65,7 @@
"eslint-plugin-testing-library": "^6.1.2",
"eslint-plugin-unicorn": "^49.0.0",
"eslint-plugin-upleveled": "^2.1.9",
"globals": "^13.23.0",
"typescript": "^5.2.2"
},
"engines": {
Expand Down
19 changes: 12 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions types/@next__eslint-plugin-next.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module '@next/eslint-plugin-next' {
import type { ESLint } from 'eslint';

let plugin: ESLint.Plugin;
export default plugin;
}
6 changes: 6 additions & 0 deletions types/eslint-plugin-import.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'eslint-plugin-import' {
import type { ESLint } from 'eslint';

let plugin: ESLint.Plugin;
export default plugin;
}
6 changes: 6 additions & 0 deletions types/eslint-plugin-jsx-a11y.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'eslint-plugin-jsx-a11y' {
import type { ESLint } from 'eslint';

let plugin: ESLint.Plugin;
export default plugin;
}
6 changes: 6 additions & 0 deletions types/eslint-plugin-jsx-expressions.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'eslint-plugin-jsx-expressions' {
import type { ESLint } from 'eslint';

let plugin: ESLint.Plugin;
export default plugin;
}
6 changes: 6 additions & 0 deletions types/eslint-plugin-react-hooks.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'eslint-plugin-react-hooks' {
import type { ESLint } from 'eslint';

let plugin: ESLint.Plugin;
export default plugin;
}
6 changes: 6 additions & 0 deletions types/eslint-plugin-react.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'eslint-plugin-react' {
import type { ESLint } from 'eslint';

let plugin: ESLint.Plugin;
export default plugin;
}
6 changes: 6 additions & 0 deletions types/eslint-plugin-security.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'eslint-plugin-security' {
import type { ESLint } from 'eslint';

let plugin: ESLint.Plugin;
export default plugin;
}
6 changes: 6 additions & 0 deletions types/eslint-plugin-unicorn.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'eslint-plugin-unicorn' {
import type { ESLint } from 'eslint';

let plugin: ESLint.Plugin;
export default plugin;
}
6 changes: 6 additions & 0 deletions types/eslint-plugin-upleveled.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'eslint-plugin-upleveled' {
import type { ESLint } from 'eslint';

let plugin: ESLint.Plugin;
export default plugin;
}