We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f74ddad commit bc442aaCopy full SHA for bc442aa
2 files changed
eslint.config.mjs
@@ -113,6 +113,19 @@ export default defineConfig([
113
114
'@stylistic/function-call-spacing': 'error',
115
'@stylistic/semi': 'error',
116
+
117
+ 'no-restricted-imports': [
118
+ 'error',
119
+ {
120
+ patterns: [
121
122
+ regex: '.*chrome-devtools-frontend/(?!mcp/mcp.js$).*',
123
+ message:
124
+ 'Import only the devtools-frontend code exported via node_modules/chrome-devtools-frontend/mcp/mcp.js',
125
+ },
126
+ ],
127
128
129
},
130
131
{
scripts/tsconfig.json
@@ -15,6 +15,8 @@
15
"noFallthroughCasesInSwitch": true,
16
"incremental": true,
17
"allowJs": true,
18
+ "allowImportingTsExtensions": true,
19
+ "noEmit": true,
20
"useUnknownInCatchVariables": false
21
22
"include": ["./**/*.ts", "./**/*.js"]
0 commit comments