Skip to content

Commit

Permalink
deps: eslint-import-resolver-typescript (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 7, 2024
1 parent 0111005 commit f9d41a2
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ module.exports = {
'react/prop-types': 'off',
'primer-react/no-system-props': ['error', {includeUtilityComponents: true}],
},
settings: {
'import/resolver': {
typescript: {},
},
},
overrides: [
{
files: ['*.js'],
Expand Down
2 changes: 1 addition & 1 deletion cli/lib/log.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { log } = require('proc-log')
const {log} = require('proc-log')
const SYMBOL = Symbol('doc-log')

module.exports = Object.fromEntries(Object.entries(log).map(([k, v]) => [k, (...a) => v(SYMBOL, ...a)]))
Expand Down
44 changes: 44 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"babel-jest": "^29.7.0",
"eslint": "^8.56.0",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-import-resolver-webpack": "^0.13.8",
"eslint-mdx": "^3.1.3",
"eslint-plugin-github": "^4.10.1",
Expand Down

0 comments on commit f9d41a2

Please sign in to comment.