Skip to content

Commit f0db981

Browse files
committed
chore: Tweak tooling configs
1 parent 884e13e commit f0db981

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

biome.jsonc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@
5454
"includes": ["build.ts"],
5555
"formatter": {
5656
"lineWidth": 100
57-
},
58-
"javascript": {
59-
"globals": ["Bun"]
6057
}
6158
}
6259
]

playwright.config.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ export default defineConfig({
66
snapshotPathTemplate: 'test/e2e/__snapshots__/{testFilePath}/{arg}{ext}',
77
forbidOnly: !!process.env.CI,
88
retries: process.env.CI ? 1 : 0,
9-
webServer: {
10-
command: 'bun run serve',
11-
port: 3000,
12-
reuseExistingServer: !process.env.CI, // in CI throw if port is taken
13-
// stdout: 'pipe',
14-
},
159
use: {
1610
baseURL: 'http://localhost:3000',
1711
acceptDownloads: false,
@@ -27,6 +21,12 @@ export default defineConfig({
2721
maxDiffPixelRatio: 0.02, // allow for font rendering variance
2822
},
2923
},
24+
webServer: {
25+
command: 'bun run serve',
26+
port: 3000,
27+
reuseExistingServer: !process.env.CI, // throw in CI if port is taken
28+
// stdout: 'pipe',
29+
},
3030
projects: [
3131
{
3232
name: 'chromium',

stylelint.config.mjs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
export default {
33
reportInvalidScopeDisables: true,
44
reportNeedlessDisables: true,
5-
extends: ['stylelint-config-standard', '@maxmilton/stylelint-config'],
5+
extends: [
6+
'stylelint-config-standard',
7+
'@maxmilton/stylelint-config',
8+
'@maxmilton/stylelint-config/xcss',
9+
],
610
ignoreFiles: ['dist/*', 'node_modules/**'],
711
rules: {
8-
'import-notation': null,
912
'media-query-no-invalid': null,
1013
},
1114
};

0 commit comments

Comments
 (0)