-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add typescript declaration file to package.json (#56)
* Add typescript declaration file to package.json * chore: update index.type.ts and package.json to use .d.ts files for TypeScript declarations
- Loading branch information
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
declare const _default: { | ||
configs: { | ||
recommended: { | ||
plugins: string[]; | ||
rules: Record<string, string>; | ||
}; | ||
"flat/recommended": { | ||
rules: Record<string, string>; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export const eslintRules: Record<string, any>; | ||
export const typescriptRules: Record<string, any>; | ||
export const jestRules: Record<string, any>; | ||
export const unicornRules: Record<string, any>; | ||
export const reactRules: Record<string, any>; | ||
export const reactPerfRules: Record<string, any>; | ||
export const importRules: Record<string, any>; | ||
export const jsxA11yRules: Record<string, any>; | ||
export const nextjsRules: Record<string, any>; | ||
export const jsdocRules: Record<string, any>; | ||
export const treeShakingRules: Record<string, any>; |