@clipboard-health/eslint-config 2.4.2 → 2.4.4
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/CHANGELOG.md +4 -0
- package/package.json +16 -1
- package/src/xo.d.ts +0 -3
- package/src/xo.js +0 -3
- package/src/xo.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.4.4](https://github.com/ClipboardHealth/cbh-core/compare/eslint-config-2.4.3...eslint-config-2.4.4) (2023-05-12)
|
|
6
|
+
|
|
7
|
+
## [2.4.3](https://github.com/ClipboardHealth/cbh-core/compare/eslint-config-2.4.2...eslint-config-2.4.3) (2023-05-12)
|
|
8
|
+
|
|
5
9
|
## [2.4.2](https://github.com/ClipboardHealth/cbh-core/compare/eslint-config-2.4.1...eslint-config-2.4.2) (2023-05-11)
|
|
6
10
|
|
|
7
11
|
## [2.4.1](https://github.com/ClipboardHealth/cbh-core/compare/eslint-config-2.4.0...eslint-config-2.4.1) (2023-05-11)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipboard-health/eslint-config",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "nx build eslint-config",
|
|
@@ -11,8 +11,23 @@
|
|
|
11
11
|
"@typescript-eslint/eslint-plugin": ">= 5",
|
|
12
12
|
"@typescript-eslint/parser": ">= 5",
|
|
13
13
|
"eslint": ">= 8",
|
|
14
|
+
"eslint-config-prettier": ">= 8",
|
|
15
|
+
"eslint-config-xo": ">= 0.43",
|
|
16
|
+
"eslint-config-xo-react": ">= 0.27",
|
|
17
|
+
"eslint-config-xo-typescript": ">= 0.57",
|
|
18
|
+
"eslint-formatter-pretty": ">= 5",
|
|
19
|
+
"eslint-plugin-eslint-comments": ">= 3",
|
|
20
|
+
"eslint-plugin-import": ">= 2",
|
|
21
|
+
"eslint-plugin-jest": ">= 27",
|
|
22
|
+
"eslint-plugin-n": ">= 15",
|
|
14
23
|
"eslint-plugin-no-only-tests": ">= 3",
|
|
24
|
+
"eslint-plugin-no-use-extend-native": ">= 0.5",
|
|
25
|
+
"eslint-plugin-react": ">= 7",
|
|
26
|
+
"eslint-plugin-react-hooks": ">= 4",
|
|
27
|
+
"eslint-plugin-security": ">= 1",
|
|
15
28
|
"eslint-plugin-simple-import-sort": ">= 10",
|
|
29
|
+
"eslint-plugin-sonarjs": ">= 0.19",
|
|
30
|
+
"eslint-plugin-unicorn": ">= 46",
|
|
16
31
|
"tslib": "2.5.0"
|
|
17
32
|
},
|
|
18
33
|
"types": "./src/index.d.ts"
|
package/src/xo.d.ts
CHANGED
|
@@ -12,9 +12,7 @@ export declare const rules: {
|
|
|
12
12
|
argsIgnorePattern: string;
|
|
13
13
|
})[];
|
|
14
14
|
"capitalized-comments": string;
|
|
15
|
-
"import/extensions": string;
|
|
16
15
|
"import/no-unresolved": string;
|
|
17
|
-
"import/prefer-default-export": string;
|
|
18
16
|
"n/no-missing-import": string;
|
|
19
17
|
"n/no-unpublished-import": string;
|
|
20
18
|
"new-cap": (string | {
|
|
@@ -22,7 +20,6 @@ export declare const rules: {
|
|
|
22
20
|
capIsNew: boolean;
|
|
23
21
|
})[];
|
|
24
22
|
"no-only-tests/no-only-tests": string;
|
|
25
|
-
"no-use-before-define": string;
|
|
26
23
|
"simple-import-sort/imports": string;
|
|
27
24
|
"simple-import-sort/exports": string;
|
|
28
25
|
"security/detect-object-injection": string;
|
package/src/xo.js
CHANGED
|
@@ -24,14 +24,11 @@ module.exports = {
|
|
|
24
24
|
"@typescript-eslint/naming-convention": "off",
|
|
25
25
|
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
|
|
26
26
|
"capitalized-comments": "off",
|
|
27
|
-
"import/extensions": "off",
|
|
28
27
|
"import/no-unresolved": "off",
|
|
29
|
-
"import/prefer-default-export": "off",
|
|
30
28
|
"n/no-missing-import": "off",
|
|
31
29
|
"n/no-unpublished-import": "off",
|
|
32
30
|
"new-cap": ["warn", { newIsCap: true, capIsNew: false }],
|
|
33
31
|
"no-only-tests/no-only-tests": "error",
|
|
34
|
-
"no-use-before-define": "off",
|
|
35
32
|
"simple-import-sort/imports": "warn",
|
|
36
33
|
"simple-import-sort/exports": "warn",
|
|
37
34
|
"security/detect-object-injection": "off",
|
package/src/xo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xo.js","sourceRoot":"","sources":["../../../../packages/eslint-config/src/xo.js"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACf,OAAO,EAAE;QACP,oCAAoC;QACpC,yBAAyB;QACzB,mBAAmB;QACnB,2BAA2B;QAC3B,sBAAsB;QACtB,yCAAyC;QACzC,6BAA6B;QAC7B,4BAA4B;QAC5B,4BAA4B;QAC5B,UAAU;QACV,IAAI;QACJ,qBAAqB;KACtB;IACD,MAAM,EAAE,2BAA2B;IACnC,aAAa,EAAE;QACb,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,eAAe,EAAE,SAAS;KAC3B;IACD,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,oBAAoB,EAAE,SAAS,CAAC;IACnE,KAAK,EAAE;QACL,sCAAsC,EAAE,KAAK;QAC7C,mCAAmC,EAAE,CAAC,MAAM,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC;QAC1E,sBAAsB,EAAE,KAAK;QAC7B,
|
|
1
|
+
{"version":3,"file":"xo.js","sourceRoot":"","sources":["../../../../packages/eslint-config/src/xo.js"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACf,OAAO,EAAE;QACP,oCAAoC;QACpC,yBAAyB;QACzB,mBAAmB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