Skip to content

Commit

Permalink
Merge commit '8f905f161eac1d8a86fcc77bb65e6ad198ce262c'
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcouch-sil committed Apr 8, 2024
2 parents 1c044f3 + 8f905f1 commit ac29a8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions extensions/src/resource-viewer/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ module.exports = {
'no-console': 'off',
},
},
{
files: ['*.d.ts'],
rules: {
// Allow .d.ts files to self import so they can refer to their types in `papi-shared-types`
'import/no-self-import': 'off',
},
},
],
parserOptions: {
ecmaVersion: 2022,
Expand Down
2 changes: 1 addition & 1 deletion extensions/src/resource-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint:scripts": "eslint --ext .cjs,.js,.jsx,.ts,.tsx --cache .",
"lint:styles": "stylelint **/*.{css,scss}",
"lint-fix": "npm run lint-fix:scripts && npm run lint:styles -- --fix",
"lint-fix:scripts": "prettier --write \"**/*.{ts,tsx,js,jsx}\" && npm run lint:scripts"
"lint-fix:scripts": "prettier --write \"**/*.{ts,tsx,js,jsx,cjs}\" && npm run lint:scripts"
},
"browserslist": [],
"peerDependencies": {
Expand Down

0 comments on commit ac29a8f

Please sign in to comment.