@saashub/qoq-eslint-v9-ts-vitest 0.9.0 → 0.9.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/coverage/base.css +224 -0
- package/coverage/baseConfig.ts.html +148 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/clover.xml +46 -0
- package/coverage/coverage-final.json +3 -0
- package/coverage/eslintConfig.ts.html +154 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +131 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/lib/baseConfig.cjs +37 -0
- package/lib/baseConfig.d.ts +3 -0
- package/lib/baseConfig.mjs +16 -0
- package/lib/eslintConfig.cjs +22 -0
- package/lib/eslintConfig.d.ts +4 -0
- package/lib/eslintConfig.mjs +17 -0
- package/lib/index.cjs +13 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.mjs +11 -0
- package/package.json +5 -5
- package/qoq.config.js +0 -3
- package/rollup.config.mjs +0 -3
- package/src/baseConfig.spec.ts +0 -15
- package/src/baseConfig.ts +0 -21
- package/src/eslintConfig.spec.ts +0 -26
- package/src/eslintConfig.ts +0 -23
- package/src/index.ts +0 -4
- package/tsconfig.json +0 -7
- package/vitest.config.mjs +0 -3
package/src/eslintConfig.ts
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
import { EslintConfig } from '@saashub/qoq-eslint-v9-js';
|
2
|
-
import merge from 'lodash/merge.js';
|
3
|
-
|
4
|
-
import baseConfig from './baseConfig';
|
5
|
-
|
6
|
-
const filesExtensions = ['js', 'ts'];
|
7
|
-
|
8
|
-
export const getEslintConfig: (
|
9
|
-
srcPath?: string,
|
10
|
-
files?: string[],
|
11
|
-
ignores?: string[]
|
12
|
-
) => EslintConfig[] = (
|
13
|
-
srcPath = 'src',
|
14
|
-
files = [`${srcPath}/**/*.spec.{${filesExtensions.join(',')}}`],
|
15
|
-
ignores = []
|
16
|
-
) => [
|
17
|
-
merge({}, baseConfig, {
|
18
|
-
files,
|
19
|
-
ignores,
|
20
|
-
}),
|
21
|
-
];
|
22
|
-
|
23
|
-
export default getEslintConfig();
|
package/src/index.ts
DELETED
package/tsconfig.json
DELETED
package/vitest.config.mjs
DELETED