@agilebot/eslint-config 0.4.3 → 0.4.5
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/cli.js +10 -2
- package/dist/index.js +1 -1
- package/package.json +9 -9
package/dist/cli.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license @agilebot/eslint-config v0.4.
|
2
|
+
* @license @agilebot/eslint-config v0.4.5
|
3
3
|
*
|
4
4
|
* Copyright (c) Agilebot, Inc. and its affiliates.
|
5
5
|
*
|
@@ -75,7 +75,8 @@ function cli() {
|
|
75
75
|
config: false,
|
76
76
|
strict: false,
|
77
77
|
checkIntl: false,
|
78
|
-
progress: false
|
78
|
+
progress: false,
|
79
|
+
showWarningsInCI: false
|
79
80
|
};
|
80
81
|
const pkg = require.resolve("eslint/package.json");
|
81
82
|
const bin = import_node_path.default.join(pkg, "..", "bin", "eslint.js");
|
@@ -86,6 +87,7 @@ function cli() {
|
|
86
87
|
has.strict = has.strict || arg === "--strict";
|
87
88
|
has.checkIntl = has.checkIntl || arg === "--check-intl";
|
88
89
|
has.progress = has.progress || arg === "--progress";
|
90
|
+
has.showWarningsInCI = has.showWarningsInCI || arg === "--show-warnings-in-ci";
|
89
91
|
});
|
90
92
|
if (!has.fix) {
|
91
93
|
process.argv.splice(2, 0, "--fix");
|
@@ -103,6 +105,12 @@ function cli() {
|
|
103
105
|
"file-progress/activate: 1"
|
104
106
|
);
|
105
107
|
}
|
108
|
+
if (!has.showWarningsInCI && (0, import_eslint_utils.isCI)()) {
|
109
|
+
console.warn(
|
110
|
+
"Warning: eslint-agilebot will report errors only in CI environment"
|
111
|
+
);
|
112
|
+
process.argv.splice(2, 0, "--quiet");
|
113
|
+
}
|
106
114
|
if (has.checkIntl) {
|
107
115
|
process.argv.splice(process.argv.indexOf("--check-intl"), 1);
|
108
116
|
process.argv.splice(2, 0, "--rule", "@agilebot/intl-id-unused: 1");
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@agilebot/eslint-config",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.5",
|
4
4
|
"description": "Agilebot's ESLint config",
|
5
5
|
"bin": {
|
6
6
|
"eslint-agilebot": "bin/eslint-agilebot"
|
@@ -20,16 +20,16 @@
|
|
20
20
|
"dependencies": {
|
21
21
|
"@cspell/eslint-plugin": "^8.14.2",
|
22
22
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
23
|
-
"@eslint-react/eslint-plugin": "^1.
|
24
|
-
"@stylistic/eslint-plugin": "^2.
|
25
|
-
"@typescript-eslint/eslint-plugin": "~8.
|
26
|
-
"@typescript-eslint/parser": "~8.
|
23
|
+
"@eslint-react/eslint-plugin": "^1.14.0",
|
24
|
+
"@stylistic/eslint-plugin": "^2.8.0",
|
25
|
+
"@typescript-eslint/eslint-plugin": "~8.5.0",
|
26
|
+
"@typescript-eslint/parser": "~8.5.0",
|
27
27
|
"eslint-config-godaddy": "^6.0.0",
|
28
28
|
"eslint-config-prettier": "^9.1.0",
|
29
|
-
"eslint-import-resolver-oxc": "^0.
|
29
|
+
"eslint-import-resolver-oxc": "^0.3.0",
|
30
30
|
"eslint-import-resolver-typescript": "^3.6.1",
|
31
31
|
"eslint-plugin-file-progress": "^1.5.0",
|
32
|
-
"eslint-plugin-import-x": "^
|
32
|
+
"eslint-plugin-import-x": "^4.0.0",
|
33
33
|
"eslint-plugin-jsdoc": "^50.2.2",
|
34
34
|
"eslint-plugin-jsx-a11y": "^6.9.0",
|
35
35
|
"eslint-plugin-n": "^17.10.2",
|
@@ -43,14 +43,14 @@
|
|
43
43
|
"eslint-plugin-vue": "^9.27.0",
|
44
44
|
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
|
45
45
|
"vue-eslint-parser": "^9.4.3",
|
46
|
-
"@agilebot/eslint-utils": "0.4.
|
46
|
+
"@agilebot/eslint-utils": "0.4.5"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
49
|
"eslint-config-love": "^63.0.0"
|
50
50
|
},
|
51
51
|
"peerDependencies": {
|
52
52
|
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0",
|
53
|
-
"@agilebot/eslint-plugin": "0.4.
|
53
|
+
"@agilebot/eslint-plugin": "0.4.5"
|
54
54
|
},
|
55
55
|
"files": [
|
56
56
|
"bin",
|