@saasmakers/eslint 1.0.28 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/eslint.config.cjs
CHANGED
|
@@ -9,6 +9,7 @@ const index$1 = require('./shared/eslint.BqRQ4tAN.cjs');
|
|
|
9
9
|
const path = require('node:path');
|
|
10
10
|
const fs = require('node:fs');
|
|
11
11
|
const node_module = require('node:module');
|
|
12
|
+
const playwright = require('eslint-plugin-playwright');
|
|
12
13
|
const turbo = require('eslint-plugin-turbo');
|
|
13
14
|
const zod = require('eslint-plugin-zod');
|
|
14
15
|
require('eslint');
|
|
@@ -35,6 +36,7 @@ const vitest__default = /*#__PURE__*/_interopDefaultCompat(vitest);
|
|
|
35
36
|
const packageJson__default = /*#__PURE__*/_interopDefaultCompat(packageJson);
|
|
36
37
|
const path__namespace = /*#__PURE__*/_interopNamespaceCompat(path);
|
|
37
38
|
const fs__namespace = /*#__PURE__*/_interopNamespaceCompat(fs);
|
|
39
|
+
const playwright__default = /*#__PURE__*/_interopDefaultCompat(playwright);
|
|
38
40
|
const turbo__default = /*#__PURE__*/_interopDefaultCompat(turbo);
|
|
39
41
|
const zod__default = /*#__PURE__*/_interopDefaultCompat(zod);
|
|
40
42
|
|
|
@@ -10912,6 +10914,11 @@ const eslint_config = antfu__default(
|
|
|
10912
10914
|
"vitest/prefer-describe-function-title": "off",
|
|
10913
10915
|
"vitest/prefer-expect-assertions": "off"
|
|
10914
10916
|
}
|
|
10917
|
+
},
|
|
10918
|
+
// Playwright
|
|
10919
|
+
{
|
|
10920
|
+
files: ["**/test/e2e/**/*.{ts,tsx}"],
|
|
10921
|
+
...playwright__default.configs["flat/recommended"]
|
|
10915
10922
|
}
|
|
10916
10923
|
);
|
|
10917
10924
|
|
package/dist/eslint.config.d.cts
CHANGED
|
@@ -4,6 +4,7 @@ import { localeCodes } from '@saasmakers/shared';
|
|
|
4
4
|
import vitest from '@vitest/eslint-plugin';
|
|
5
5
|
import packageJson from 'eslint-plugin-package-json';
|
|
6
6
|
import { Linter, ESLint } from 'eslint';
|
|
7
|
+
import playwright from 'eslint-plugin-playwright';
|
|
7
8
|
import turbo from 'eslint-plugin-turbo';
|
|
8
9
|
import zod from 'eslint-plugin-zod';
|
|
9
10
|
|
|
@@ -192,6 +193,11 @@ var eslint_config = antfu(
|
|
|
192
193
|
"vitest/prefer-describe-function-title": "off",
|
|
193
194
|
"vitest/prefer-expect-assertions": "off"
|
|
194
195
|
}
|
|
196
|
+
},
|
|
197
|
+
// Playwright
|
|
198
|
+
{
|
|
199
|
+
files: ["**/test/e2e/**/*.{ts,tsx}"],
|
|
200
|
+
...playwright.configs["flat/recommended"]
|
|
195
201
|
}
|
|
196
202
|
);
|
|
197
203
|
|
package/dist/eslint.config.d.mts
CHANGED
|
@@ -4,6 +4,7 @@ import { localeCodes } from '@saasmakers/shared';
|
|
|
4
4
|
import vitest from '@vitest/eslint-plugin';
|
|
5
5
|
import packageJson from 'eslint-plugin-package-json';
|
|
6
6
|
import { Linter, ESLint } from 'eslint';
|
|
7
|
+
import playwright from 'eslint-plugin-playwright';
|
|
7
8
|
import turbo from 'eslint-plugin-turbo';
|
|
8
9
|
import zod from 'eslint-plugin-zod';
|
|
9
10
|
|
|
@@ -192,6 +193,11 @@ var eslint_config = antfu(
|
|
|
192
193
|
"vitest/prefer-describe-function-title": "off",
|
|
193
194
|
"vitest/prefer-expect-assertions": "off"
|
|
194
195
|
}
|
|
196
|
+
},
|
|
197
|
+
// Playwright
|
|
198
|
+
{
|
|
199
|
+
files: ["**/test/e2e/**/*.{ts,tsx}"],
|
|
200
|
+
...playwright.configs["flat/recommended"]
|
|
195
201
|
}
|
|
196
202
|
);
|
|
197
203
|
|
package/dist/eslint.config.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { localeCodes } from '@saasmakers/shared';
|
|
|
4
4
|
import vitest from '@vitest/eslint-plugin';
|
|
5
5
|
import packageJson from 'eslint-plugin-package-json';
|
|
6
6
|
import { Linter, ESLint } from 'eslint';
|
|
7
|
+
import playwright from 'eslint-plugin-playwright';
|
|
7
8
|
import turbo from 'eslint-plugin-turbo';
|
|
8
9
|
import zod from 'eslint-plugin-zod';
|
|
9
10
|
|
|
@@ -192,6 +193,11 @@ var eslint_config = antfu(
|
|
|
192
193
|
"vitest/prefer-describe-function-title": "off",
|
|
193
194
|
"vitest/prefer-expect-assertions": "off"
|
|
194
195
|
}
|
|
196
|
+
},
|
|
197
|
+
// Playwright
|
|
198
|
+
{
|
|
199
|
+
files: ["**/test/e2e/**/*.{ts,tsx}"],
|
|
200
|
+
...playwright.configs["flat/recommended"]
|
|
195
201
|
}
|
|
196
202
|
);
|
|
197
203
|
|
package/dist/eslint.config.mjs
CHANGED
|
@@ -7,6 +7,7 @@ import { d as distExports } from './shared/eslint.DOaqyhfZ.mjs';
|
|
|
7
7
|
import * as path from 'node:path';
|
|
8
8
|
import * as fs from 'node:fs';
|
|
9
9
|
import { createRequire, builtinModules } from 'node:module';
|
|
10
|
+
import playwright from 'eslint-plugin-playwright';
|
|
10
11
|
import turbo from 'eslint-plugin-turbo';
|
|
11
12
|
import zod from 'eslint-plugin-zod';
|
|
12
13
|
import 'eslint';
|
|
@@ -10886,6 +10887,11 @@ const eslint_config = antfu(
|
|
|
10886
10887
|
"vitest/prefer-describe-function-title": "off",
|
|
10887
10888
|
"vitest/prefer-expect-assertions": "off"
|
|
10888
10889
|
}
|
|
10890
|
+
},
|
|
10891
|
+
// Playwright
|
|
10892
|
+
{
|
|
10893
|
+
files: ["**/test/e2e/**/*.{ts,tsx}"],
|
|
10894
|
+
...playwright.configs["flat/recommended"]
|
|
10889
10895
|
}
|
|
10890
10896
|
);
|
|
10891
10897
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasmakers/eslint",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.29",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared ESLint config and rules for SaaS Makers projects",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"@unocss/eslint-plugin": "66.7.0",
|
|
31
31
|
"@vitest/eslint-plugin": "1.6.20",
|
|
32
32
|
"eslint-plugin-package-json": "0.31.0",
|
|
33
|
+
"eslint-plugin-playwright": "2.10.4",
|
|
33
34
|
"eslint-plugin-turbo": "2.9.18",
|
|
34
35
|
"eslint-plugin-zod": "3.4.0",
|
|
35
36
|
"typescript-eslint": "8.61.0",
|