@open-turo/eslint-config-typescript 18.1.0-pr-440.294.1.1 → 18.1.0-pr-440.295.1.1
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/index.cjs
CHANGED
|
@@ -226,10 +226,11 @@ const vitestTestConfig = (options) => {
|
|
|
226
226
|
};
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
229
|
+
* Creates test configuration for the specified framework
|
|
230
230
|
* @param {object} options Configuration options
|
|
231
231
|
* @param {boolean} options.typescript Whether to include typescript rules
|
|
232
232
|
* @param {"jest" | "vitest"} options.testFramework Test framework to use
|
|
233
|
+
* @returns {ReturnType<typeof eslintConfig.defineConfig>} ESLint configuration for test files
|
|
233
234
|
*/
|
|
234
235
|
const testConfig = (options) => {
|
|
235
236
|
const frameworkConfig =
|
|
@@ -249,7 +250,9 @@ const testConfig = (options) => {
|
|
|
249
250
|
};
|
|
250
251
|
|
|
251
252
|
/**
|
|
252
|
-
*
|
|
253
|
+
* Creates ignore patterns configuration
|
|
254
|
+
* @param {string[]} ignores Additional patterns to ignore
|
|
255
|
+
* @returns {ReturnType<typeof eslintConfig.defineConfig>} ESLint configuration with ignore patterns
|
|
253
256
|
*/
|
|
254
257
|
const ignoresConfig = (ignores = []) =>
|
|
255
258
|
eslintConfig.defineConfig({
|
package/package.json
CHANGED
|
Binary file
|