@agilebot/eslint-config 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
@@ -12,7 +12,7 @@ interface FactoryOptions {
|
|
12
12
|
/** Monorepo scope (default: undefined) */
|
13
13
|
monorepoScope?: string;
|
14
14
|
/** Flag indicating whether to enable React configurations (default: undefined) */
|
15
|
-
react?: boolean |
|
15
|
+
react?: boolean | string;
|
16
16
|
/** Version of Vue.js (optional) (default: undefined) */
|
17
17
|
vue?: number;
|
18
18
|
/** Flag indicating whether ES modules are used (default: undefined) */
|
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license @agilebot/eslint-config v0.3.
|
2
|
+
* @license @agilebot/eslint-config v0.3.1
|
3
3
|
*
|
4
4
|
* Copyright (c) Agilebot, Inc. and its affiliates.
|
5
5
|
*
|
@@ -442,7 +442,7 @@ function react(opts) {
|
|
442
442
|
},
|
443
443
|
settings: {
|
444
444
|
react: {
|
445
|
-
version: typeof opts.version === "
|
445
|
+
version: typeof opts.version === "string" ? opts.version : "detect"
|
446
446
|
}
|
447
447
|
}
|
448
448
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@agilebot/eslint-config",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.1",
|
4
4
|
"description": "Agilebot's ESLint config",
|
5
5
|
"bin": {
|
6
6
|
"eslint-agilebot": "bin/eslint-agilebot"
|
@@ -45,11 +45,11 @@
|
|
45
45
|
"eslint-plugin-vue": "^9.25.0",
|
46
46
|
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
|
47
47
|
"vue-eslint-parser": "^9.4.2",
|
48
|
-
"@agilebot/eslint-utils": "0.3.
|
48
|
+
"@agilebot/eslint-utils": "0.3.1"
|
49
49
|
},
|
50
50
|
"peerDependencies": {
|
51
51
|
"eslint": "^7.0.0 || ^8.0.0",
|
52
|
-
"@agilebot/eslint-plugin": "0.3.
|
52
|
+
"@agilebot/eslint-plugin": "0.3.1"
|
53
53
|
},
|
54
54
|
"files": [
|
55
55
|
"bin",
|