@clipboard-health/eslint-config 2.2.2 → 2.4.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/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/xo.d.ts +4 -0
- package/src/xo.js +7 -1
- package/src/xo.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.4.0](https://github.com/ClipboardHealth/cbh-core/compare/eslint-config-2.3.0...eslint-config-2.4.0) (2023-05-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add TypeDoc ([#44](https://github.com/ClipboardHealth/cbh-core/issues/44)) ([fd3d1ba](https://github.com/ClipboardHealth/cbh-core/commit/fd3d1ba8f38ef61a47ff8163bd1b21e034016484))
|
|
11
|
+
|
|
12
|
+
## [2.3.0](https://github.com/ClipboardHealth/cbh-core/compare/eslint-config-2.2.2...eslint-config-2.3.0) (2023-05-09)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* allow `message-producer` clients to pass arbitrary message attributes ([#43](https://github.com/ClipboardHealth/cbh-core/issues/43)) ([2e94876](https://github.com/ClipboardHealth/cbh-core/commit/2e94876e286da9bcf08b0345bd36316538843178))
|
|
18
|
+
|
|
5
19
|
## [2.2.2](https://github.com/ClipboardHealth/cbh-core/compare/eslint-config-2.2.1...eslint-config-2.2.2) (2023-04-28)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
package/src/xo.d.ts
CHANGED
|
@@ -12,7 +12,9 @@ export declare const rules: {
|
|
|
12
12
|
argsIgnorePattern: string;
|
|
13
13
|
})[];
|
|
14
14
|
"capitalized-comments": string;
|
|
15
|
+
"import/extensions": string;
|
|
15
16
|
"import/no-unresolved": string;
|
|
17
|
+
"import/prefer-default-export": string;
|
|
16
18
|
"n/no-missing-import": string;
|
|
17
19
|
"n/no-unpublished-import": string;
|
|
18
20
|
"new-cap": (string | {
|
|
@@ -20,9 +22,11 @@ export declare const rules: {
|
|
|
20
22
|
capIsNew: boolean;
|
|
21
23
|
})[];
|
|
22
24
|
"no-only-tests/no-only-tests": string;
|
|
25
|
+
"no-use-before-define": string;
|
|
23
26
|
"simple-import-sort/imports": string;
|
|
24
27
|
"simple-import-sort/exports": string;
|
|
25
28
|
"unicorn/no-array-for-each": string;
|
|
29
|
+
"unicorn/no-array-reduce": string;
|
|
26
30
|
"unicorn/prefer-module": string;
|
|
27
31
|
};
|
|
28
32
|
export declare namespace settings {
|
package/src/xo.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
module.exports = {
|
|
3
3
|
extends: [
|
|
4
4
|
"plugin:eslint-comments/recommended",
|
|
5
|
+
"plugin:jest/recommended",
|
|
6
|
+
"plugin:jest/style",
|
|
5
7
|
"plugin:import/recommended",
|
|
6
8
|
"plugin:n/recommended",
|
|
7
9
|
"plugin:no-use-extend-native/recommended",
|
|
@@ -15,19 +17,23 @@ module.exports = {
|
|
|
15
17
|
project: ["tsconfig.json"],
|
|
16
18
|
tsconfigRootDir: __dirname,
|
|
17
19
|
},
|
|
18
|
-
plugins: ["no-only-tests", "simple-import-sort"],
|
|
20
|
+
plugins: ["jest", "no-only-tests", "simple-import-sort"],
|
|
19
21
|
rules: {
|
|
20
22
|
"@typescript-eslint/naming-convention": "off",
|
|
21
23
|
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
|
|
22
24
|
"capitalized-comments": "off",
|
|
25
|
+
"import/extensions": "off",
|
|
23
26
|
"import/no-unresolved": "off",
|
|
27
|
+
"import/prefer-default-export": "off",
|
|
24
28
|
"n/no-missing-import": "off",
|
|
25
29
|
"n/no-unpublished-import": "off",
|
|
26
30
|
"new-cap": ["warn", { newIsCap: true, capIsNew: false }],
|
|
27
31
|
"no-only-tests/no-only-tests": "error",
|
|
32
|
+
"no-use-before-define": "off",
|
|
28
33
|
"simple-import-sort/imports": "warn",
|
|
29
34
|
"simple-import-sort/exports": "warn",
|
|
30
35
|
"unicorn/no-array-for-each": "off",
|
|
36
|
+
"unicorn/no-array-reduce": "off",
|
|
31
37
|
"unicorn/prefer-module": "off",
|
|
32
38
|
},
|
|
33
39
|
settings: { node: { version: ">=18.15.0" } },
|
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,2BAA2B;QAC3B,sBAAsB;QACtB,yCAAyC;QACzC,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,eAAe,EAAE,oBAAoB,CAAC;
|
|
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,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,CAAC;IACxD,KAAK,EAAE;QACL,sCAAsC,EAAE,KAAK;QAC7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