@ibm-cloud/cd-tools 1.9.0 → 1.10.0
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/eslint.config.js +33 -0
- package/package.json +2 -1
package/eslint.config.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import js from "@eslint/js";
|
|
2
|
+
import globals from "globals";
|
|
3
|
+
import { defineConfig } from "eslint/config";
|
|
4
|
+
|
|
5
|
+
export default defineConfig([
|
|
6
|
+
{
|
|
7
|
+
files: ["**/*.{js,mjs,cjs}"],
|
|
8
|
+
ignores: ["**/test/**"],
|
|
9
|
+
rules: {
|
|
10
|
+
"no-unused-vars": ["warn", {
|
|
11
|
+
"argsIgnorePattern": "^_",
|
|
12
|
+
"varsIgnorePattern": "^_",
|
|
13
|
+
"caughtErrorsIgnorePattern": "^_"
|
|
14
|
+
}],
|
|
15
|
+
"no-useless-catch": "warn",
|
|
16
|
+
"no-case-declarations": "warn",
|
|
17
|
+
"no-useless-escape": "off",
|
|
18
|
+
"no-control-regex": "off",
|
|
19
|
+
"no-regex-spaces": "off",
|
|
20
|
+
},
|
|
21
|
+
plugins: {
|
|
22
|
+
js
|
|
23
|
+
},
|
|
24
|
+
extends: ["js/recommended"],
|
|
25
|
+
languageOptions: {
|
|
26
|
+
globals: {
|
|
27
|
+
...globals.browser,
|
|
28
|
+
process: "readonly",
|
|
29
|
+
require: "readonly",
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibm-cloud/cd-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Tools and utilities for the IBM Cloud Continuous Delivery service and resources",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"type": "module",
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"chai": "^6.2.0",
|
|
36
|
+
"eslint": "^9.39.2",
|
|
36
37
|
"mocha": "^11.7.4",
|
|
37
38
|
"nconf": "^0.13.0",
|
|
38
39
|
"node-pty": "^1.0.0"
|