@hearthsim/eslint-config-typescript 2.0.2 → 2.0.3
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/index.js +0 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -24,8 +24,6 @@ module.exports = {
|
|
|
24
24
|
"plugin:jest/recommended",
|
|
25
25
|
],
|
|
26
26
|
rules: {
|
|
27
|
-
// describe/it blocks will always breaks this
|
|
28
|
-
"max-lines-per-function": "off",
|
|
29
27
|
// enforce describe around "it" blocks
|
|
30
28
|
"jest/require-top-level-describe": "error",
|
|
31
29
|
// acceptable as long as it's only imported from other tests
|
|
@@ -72,8 +70,6 @@ module.exports = {
|
|
|
72
70
|
"@typescript-eslint/no-unused-vars": "off",
|
|
73
71
|
// while these aren't great, if someone explicitly uses them let's allow them
|
|
74
72
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
75
|
-
// functions should be kept compact and logical
|
|
76
|
-
"max-lines-per-function": ["warn", { max: 200, skipComments: true }],
|
|
77
73
|
// no case declarations are not necessarily a bug, however they can lead to misused variables
|
|
78
74
|
"no-case-declarations": "warn",
|
|
79
75
|
"no-empty-pattern": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearthsim/eslint-config-typescript",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "HearthSim's presets for ESLint, with Typescript support.",
|
|
5
5
|
"repository": "git@github.com:HearthSim/eslint-config-typescript.git",
|
|
6
6
|
"author": "Benedict Etzel <benedict@hearthsim.net>",
|