Refactor ESLint config for improved readability
Reformatted the ESLint configuration file to use consistent array/object formatting and removed unnecessary quotes from rule names. No functional changes were made; this improves maintainability and clarity. Other config files had only minor formatting updates.
This commit is contained in:
1 parent
782fb3492d
commit
78ebc49a4b
7 files changed
+5062
-5038
No files matched your search
+16
-19
@@ -1,36 +1,33 @@
|
||||
import { defineWorkersConfig } from '@cloudflare/vitest-pool-workers/config';
|
||||
import { defineWorkersConfig } from "@cloudflare/vitest-pool-workers/config";
|
||||
|
||||
export default defineWorkersConfig({
|
||||
test: {
|
||||
poolOptions: {
|
||||
workers: {
|
||||
wrangler: { configPath: './wrangler.toml' },
|
||||
wrangler: { configPath: "./wrangler.toml" },
|
||||
},
|
||||
},
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'json', 'html', 'lcov'],
|
||||
reportsDirectory: './coverage',
|
||||
provider: "v8",
|
||||
reporter: ["text", "json", "html", "lcov"],
|
||||
reportsDirectory: "./coverage",
|
||||
exclude: [
|
||||
'node_modules/**',
|
||||
'test/**',
|
||||
'coverage/**',
|
||||
'dist/**',
|
||||
'*.config.js',
|
||||
'*.config.ts'
|
||||
],
|
||||
include: [
|
||||
'src/**/*.js',
|
||||
'src/**/*.ts'
|
||||
"node_modules/**",
|
||||
"test/**",
|
||||
"coverage/**",
|
||||
"dist/**",
|
||||
"*.config.js",
|
||||
"*.config.ts",
|
||||
],
|
||||
include: ["src/**/*.js", "src/**/*.ts"],
|
||||
thresholds: {
|
||||
global: {
|
||||
branches: 80,
|
||||
functions: 80,
|
||||
lines: 80,
|
||||
statements: 80
|
||||
}
|
||||
}
|
||||
}
|
||||
statements: 80,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user