@deot/dev-eslint 2.8.1 → 2.8.3
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/index.cjs +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
5
|
const pluginTs = require('@typescript-eslint/eslint-plugin');
|
|
6
6
|
const parserTs = require('@typescript-eslint/parser');
|
|
@@ -345,4 +345,7 @@ const configure = async (options, ...userConfigs) => {
|
|
|
345
345
|
return configs.concat(userConfigs);
|
|
346
346
|
};
|
|
347
347
|
|
|
348
|
+
const index = configure();
|
|
349
|
+
|
|
348
350
|
exports.configure = configure;
|
|
351
|
+
exports.default = index;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ESLint } from 'eslint';
|
|
2
|
-
import
|
|
2
|
+
import { Linter } from 'eslint';
|
|
3
3
|
|
|
4
4
|
export declare interface ConfigOptions {
|
|
5
5
|
enable?: boolean;
|
|
@@ -8,6 +8,9 @@ export declare interface ConfigOptions {
|
|
|
8
8
|
|
|
9
9
|
export declare const configure: (options?: Options, ...userConfigs: FlatConfig[]) => Promise<FlatConfig[]>;
|
|
10
10
|
|
|
11
|
+
declare const _default: Promise<Linter[]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
|
|
11
14
|
export declare type FlatConfig = Linter.FlatConfig;
|
|
12
15
|
|
|
13
16
|
export declare type Modules = 'stylistic' | 'javascript' | 'typescript' | 'markdown' | 'jsdoc' | 'vue' | 'react' | 'import';
|
package/dist/index.js
CHANGED