Skip to content

Commit 1357025

Browse files
committed
fix: eslint
1 parent 025973d commit 1357025

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

eslint.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const gitignorePath = path.resolve(__dirname, '.gitignore');
6060
export default tseslint.config(
6161
includeIgnoreFile(gitignorePath),
6262

63-
{ files: [ '**/*.{js,mjs,cjs,ts,jsx,tsx}', '**/*.pw.tsx' ] },
63+
{ files: [ '**/*.{js,mjs,cjs,ts,jsx,tsx}' ] },
6464

6565
{ ignores: [
6666
'deploy/tools/',
@@ -69,6 +69,8 @@ export default tseslint.config(
6969
'next.config.js',
7070
'./toolkit/theme/design-system/dist',
7171
'./toolkit/theme/design-system/build',
72+
// TODO: we ignored these, need to be put back into "files" section :63
73+
'**/*.pw.tsx',
7274
] },
7375

7476
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
"baseUrl": ".",
1919
"types": ["node", "jest"],
2020
},
21-
"include": ["next-env.d.ts", "**/*.ts", "**/*.node.ts", "**/*.tsx", "**/*.pw.tsx", "decs.d.ts", "global.d.ts"],
21+
"include": ["next-env.d.ts", "**/*.ts", "**/*.node.ts", "**/*.tsx", "decs.d.ts", "global.d.ts"],
2222
"exclude": [
2323
"node_modules",
2424
"node_modules_linux",
2525
"./deploy/tools/envs-validator",
2626
"./deploy/tools/favicon-generator",
2727
"./toolkit/package",
2828
"./toolkit/theme/design-system/build",
29-
"./toolkit/theme/design-system/dist"
29+
"./toolkit/theme/design-system/dist",
30+
"**/*.pw.tsx" // TODO: this needs to be put back in the include section :21
3031
],
3132
}

0 commit comments

Comments
 (0)