Skip to content

Commit 525cba5

Browse files
authored
Merge pull request #103 from curveball/release-0.14.11-2
Update to latest linting rules and for real release 0.14.11
2 parents 9aec0bd + 98c8ed9 commit 525cba5

File tree

11 files changed

+464
-371
lines changed

11 files changed

+464
-371
lines changed

.eslintrc.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
"SwitchCase": 1
2727
}],
2828
"linebreak-style": ["error", "unix"],
29+
"no-constant-condition": ["error", {
30+
"checkLoops": false
31+
}],
2932
"quotes": ["error", "single",
3033
{
3134
"allowTemplateLiterals": false,
@@ -35,14 +38,30 @@
3538
"semi": ["error", "always"],
3639
"no-trailing-spaces": "error",
3740
"eol-last": "error",
38-
"@typescript-eslint/no-inferrable-types": "off",
3941
"@typescript-eslint/ban-ts-comment": ["error",
4042
{
4143
"ts-expect-error": "allow-with-description"
4244
}
4345
],
46+
"@typescript-eslint/ban-tslint-comment": "error",
47+
"@typescript-eslint/consistent-type-assertions": ["error", {
48+
"assertionStyle": "as",
49+
"objectLiteralTypeAssertions": "never"
50+
}],
51+
"@typescript-eslint/member-delimiter-style": "error",
52+
"@typescript-eslint/no-inferrable-types": "off",
4453
"@typescript-eslint/no-explicit-any" : 0,
45-
"@typescript-eslint/no-unused-vars": ["error"],
54+
"@typescript-eslint/no-for-in-array": "error",
55+
"@typescript-eslint/no-invalid-void-type": "error",
56+
"@typescript-eslint/no-namespace": "error",
57+
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
58+
"@typescript-eslint/no-unused-vars": ["error", {
59+
"ignoreRestSiblings": true,
60+
"args": "none"
61+
}],
62+
"@typescript-eslint/prefer-for-of": ["error"],
63+
"@typescript-eslint/prefer-optional-chain": ["error"],
64+
"@typescript-eslint/prefer-ts-expect-error": ["error"],
4665
"no-console": ["error"]
4766
}
4867
}

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
=========
33

4-
0.14.11 (2021-04-28)
4+
0.14.11 (2021-05-23)
55
--------------------
66

77
* Upgrade to Ketting 7 for parsing hypermedia bodies.

0 commit comments

Comments
 (0)