Skip to content

Commit

Permalink
declare plugins, enable strict
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jun 21, 2024
1 parent 863efe1 commit d252284
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"**/dist/**",
],
"compilerOptions": {
"strict": true,
"types": [
"jest-extended",
"vite/client",
Expand Down
25 changes: 25 additions & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,31 @@ declare module "eslint-plugin-deprecation" {
const plugin: Eslint.Plugin;
export = plugin;
}
declare module "eslint-plugin-jsx-a11y" {
import type {Eslint} from "eslint";
const plugin: Eslint.Plugin;
export = plugin;
}
declare module "eslint-plugin-react" {
import type {Eslint} from "eslint";
const plugin: Eslint.Plugin;
export = plugin;
}
declare module "eslint-plugin-react-hooks" {
import type {Eslint} from "eslint";
const plugin: Eslint.Plugin;
export = plugin;
}
declare module "eslint-plugin-react-refresh" {
import type {Eslint} from "eslint";
const plugin: Eslint.Plugin;
export = plugin;
}
declare module "eslint-plugin-validate-jsx-nesting" {
import type {Eslint} from "eslint";
const plugin: Eslint.Plugin;
export = plugin;
}
declare module "eslint-config-silverwind-react" {
const config: Record<string, any>;
export = config
Expand Down

0 comments on commit d252284

Please sign in to comment.