@rebeccastevens/eslint-config 1.3.4 → 1.3.7
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 +21 -0
- package/dist/common-overrides.cjs +7 -0
- package/dist/common-overrides.mjs +7 -0
- package/dist/script.cjs +1 -0
- package/dist/script.mjs +1 -0
- package/dist/typescript.cjs +9 -1
- package/dist/typescript.mjs +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
|
3
3
|
|
|
4
|
+
## [1.3.7](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.6...v1.3.7) (2022-03-23)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* add common js overrides ([7da04f6](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/7da04f6e24d0a8b6acd7b0ffccfb1aacc77e4a9a))
|
|
10
|
+
|
|
11
|
+
## [1.3.6](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.5...v1.3.6) (2022-03-22)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* update typescript overrides ([5d8a645](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/5d8a6459ac4667dd5500dbff4ad4abf10c799aab))
|
|
17
|
+
|
|
18
|
+
## [1.3.5](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.4...v1.3.5) (2022-03-22)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* turn off no-return-void for scripts ([7888b8d](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/7888b8d12c3b10f55d84c47009c9432ace68837b))
|
|
24
|
+
|
|
4
25
|
## [1.3.4](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.3...v1.3.4) (2022-03-22)
|
|
5
26
|
|
|
6
27
|
|
|
@@ -19,6 +19,13 @@ var commonOverrides = {
|
|
|
19
19
|
files: ["{test,tests}/**/*", "**/*.test.*"],
|
|
20
20
|
extends: ["@rebeccastevens/eslint-config/test"],
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
files: ["**/*.{cjs,cts}"],
|
|
24
|
+
rules: {
|
|
25
|
+
"unicorn/prefer-module": "off",
|
|
26
|
+
"@typescript-eslint/no-var-requires": "off",
|
|
27
|
+
},
|
|
28
|
+
},
|
|
22
29
|
],
|
|
23
30
|
};
|
|
24
31
|
|
|
@@ -17,6 +17,13 @@ var commonOverrides = {
|
|
|
17
17
|
files: ["{test,tests}/**/*", "**/*.test.*"],
|
|
18
18
|
extends: ["@rebeccastevens/eslint-config/test"],
|
|
19
19
|
},
|
|
20
|
+
{
|
|
21
|
+
files: ["**/*.{cjs,cts}"],
|
|
22
|
+
rules: {
|
|
23
|
+
"unicorn/prefer-module": "off",
|
|
24
|
+
"@typescript-eslint/no-var-requires": "off",
|
|
25
|
+
},
|
|
26
|
+
},
|
|
20
27
|
],
|
|
21
28
|
};
|
|
22
29
|
|
package/dist/script.cjs
CHANGED
|
@@ -5,6 +5,7 @@ const baseConfig = {
|
|
|
5
5
|
"functional/no-conditional-statement": "off",
|
|
6
6
|
"functional/no-expression-statement": "off",
|
|
7
7
|
"functional/no-loop-statement": "off",
|
|
8
|
+
"functional/no-return-void": "off",
|
|
8
9
|
"functional/no-throw-statement": "off",
|
|
9
10
|
"node/no-process-exit": "off",
|
|
10
11
|
"node/no-sync": "off",
|
package/dist/script.mjs
CHANGED
|
@@ -3,6 +3,7 @@ const baseConfig = {
|
|
|
3
3
|
"functional/no-conditional-statement": "off",
|
|
4
4
|
"functional/no-expression-statement": "off",
|
|
5
5
|
"functional/no-loop-statement": "off",
|
|
6
|
+
"functional/no-return-void": "off",
|
|
6
7
|
"functional/no-throw-statement": "off",
|
|
7
8
|
"node/no-process-exit": "off",
|
|
8
9
|
"node/no-sync": "off",
|
package/dist/typescript.cjs
CHANGED
|
@@ -270,7 +270,7 @@ const baseConfig = {
|
|
|
270
270
|
},
|
|
271
271
|
overrides: [
|
|
272
272
|
{
|
|
273
|
-
files: ["**/*.ts
|
|
273
|
+
files: ["**/*.{ts,tsx,mts,cts}"],
|
|
274
274
|
rules: {
|
|
275
275
|
"import/no-unresolved": "off",
|
|
276
276
|
"import/named": "off",
|
|
@@ -279,6 +279,14 @@ const baseConfig = {
|
|
|
279
279
|
"node/no-unsupported-features/es-syntax": "off",
|
|
280
280
|
},
|
|
281
281
|
},
|
|
282
|
+
{
|
|
283
|
+
files: "**/*.d.{ts,mts,cts}",
|
|
284
|
+
rules: {
|
|
285
|
+
"@typescript-eslint/consistent-type-definitions": "off",
|
|
286
|
+
"@typescript-eslint/triple-slash-reference": "off",
|
|
287
|
+
"init-declarations": "off",
|
|
288
|
+
},
|
|
289
|
+
},
|
|
282
290
|
],
|
|
283
291
|
};
|
|
284
292
|
var typescript = deepmergeTs.deepmerge(baseConfig, settings, settings$1);
|
package/dist/typescript.mjs
CHANGED
|
@@ -268,7 +268,7 @@ const baseConfig = {
|
|
|
268
268
|
},
|
|
269
269
|
overrides: [
|
|
270
270
|
{
|
|
271
|
-
files: ["**/*.ts
|
|
271
|
+
files: ["**/*.{ts,tsx,mts,cts}"],
|
|
272
272
|
rules: {
|
|
273
273
|
"import/no-unresolved": "off",
|
|
274
274
|
"import/named": "off",
|
|
@@ -277,6 +277,14 @@ const baseConfig = {
|
|
|
277
277
|
"node/no-unsupported-features/es-syntax": "off",
|
|
278
278
|
},
|
|
279
279
|
},
|
|
280
|
+
{
|
|
281
|
+
files: "**/*.d.{ts,mts,cts}",
|
|
282
|
+
rules: {
|
|
283
|
+
"@typescript-eslint/consistent-type-definitions": "off",
|
|
284
|
+
"@typescript-eslint/triple-slash-reference": "off",
|
|
285
|
+
"init-declarations": "off",
|
|
286
|
+
},
|
|
287
|
+
},
|
|
280
288
|
],
|
|
281
289
|
};
|
|
282
290
|
var typescript = deepmerge(baseConfig, settings, settings$1);
|