Skip to content

Commit 87a57c1

Browse files
committed
Squashed 'extensions/src/quick-verse/' changes from 7134434a5..973c0c513
973c0c513 Fixed dts self-import (#66) 830945c66 Fixed dts self-import git-subtree-dir: extensions/src/quick-verse git-subtree-split: 973c0c513ea3c3d0d22e0420dcc695092eb35776
1 parent 18bad82 commit 87a57c1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ module.exports = {
132132
'no-console': 'off',
133133
},
134134
},
135+
{
136+
files: ['*.d.ts'],
137+
rules: {
138+
// Allow .d.ts files to self import so they can refer to their types in `papi-shared-types`
139+
'import/no-self-import': 'off',
140+
},
141+
},
135142
],
136143
parserOptions: {
137144
ecmaVersion: 2022,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"lint:scripts": "eslint --ext .cjs,.js,.jsx,.ts,.tsx --cache .",
2424
"lint:styles": "stylelint **/*.{css,scss}",
2525
"lint-fix": "npm run lint-fix:scripts && npm run lint:styles -- --fix",
26-
"lint-fix:scripts": "prettier --write \"**/*.{ts,tsx,js,jsx}\" && npm run lint:scripts"
26+
"lint-fix:scripts": "prettier --write \"**/*.{ts,tsx,js,jsx,cjs}\" && npm run lint:scripts"
2727
},
2828
"browserslist": [],
2929
"peerDependencies": {

0 commit comments

Comments
 (0)