|
@@ -1,14 +1,16 @@
|
|
|
import playwright from 'eslint-plugin-playwright';
|
|
import playwright from 'eslint-plugin-playwright';
|
|
|
|
|
|
|
|
// eslint-disable-next-line import/no-anonymous-default-export
|
|
// eslint-disable-next-line import/no-anonymous-default-export
|
|
|
-export default {
|
|
|
|
|
- root: true,
|
|
|
|
|
- ...playwright.configs['flat/recommended'],
|
|
|
|
|
- files: ['./**'],
|
|
|
|
|
- rules: {
|
|
|
|
|
- // Customize Playwright rules
|
|
|
|
|
- // ...
|
|
|
|
|
|
|
+export default [
|
|
|
|
|
+ {
|
|
|
|
|
+ ...playwright.configs['flat/recommended'],
|
|
|
|
|
+ files: ['./**'],
|
|
|
},
|
|
},
|
|
|
- extends: ['weseek/typescript'],
|
|
|
|
|
- plugins: ['@typescript-eslint'],
|
|
|
|
|
-};
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ files: ['./**'],
|
|
|
|
|
+ rules: {
|
|
|
|
|
+ // Customize Playwright rules
|
|
|
|
|
+ // ...
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+];
|