Skip to content

Commit

Permalink
restore ts
Browse files Browse the repository at this point in the history
  • Loading branch information
joephela committed Jul 11, 2024
1 parent 9a648db commit 8f7bfac
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 7 deletions.
12 changes: 6 additions & 6 deletions packages/eslint-config-widen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
},
"description": "Widen's shared ESLint config.",
"exports": {
".": "./src/index.js",
"./jest": "./src/jest.js",
"./playwright": "./src/playwright.js",
"./react": "./src/react.js",
"./typescript": "./src/typescript.js"
".": "./lib/index.js",
"./jest": "./lib/jest.js",
"./playwright": "./lib/playwright.js",
"./react": "./lib/react.js",
"./typescript": "./lib/typescript.js"
},
"files": [
"src"
"lib"
],
"homepage": "https://github.com/Widen/eslint-config/tree/master/packages/eslint-config-widen#readme",
"license": "ISC",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions packages/eslint-config-widen/src/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
declare module 'eslint-plugin-jsx-a11y'
declare module 'eslint-plugin-react'
declare module 'eslint-plugin-react-hooks'
declare module '@eslint/js'
declare module 'eslint-plugin-jest'
declare module 'globals'
declare module 'eslint-plugin-sort'
declare module 'eslint-plugin-widen'
declare module '@babel/eslint-parser'
7 changes: 7 additions & 0 deletions packages/eslint-config-widen/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "lib",
"rootDir": "src"
}
}
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"files": [],
"references": [{ "path": "packages/eslint-plugin-widen" }]
"references": [
{ "path": "packages/eslint-config-widen" },
{ "path": "packages/eslint-plugin-widen" }
]
}

0 comments on commit 8f7bfac

Please sign in to comment.