@neolution-ch/eslint-config-neolution 1.2.0 → 1.3.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 +9 -1
- package/package.json +1 -1
- package/rules/typescript.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.3.0] - 2022-12-13
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Disabled "@typescript-eslint/non-nullable-type-assertion-style" rule
|
|
15
|
+
|
|
10
16
|
## [1.2.0] - 2022-10-27
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -35,7 +41,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
35
41
|
|
|
36
42
|
- Initial release
|
|
37
43
|
|
|
38
|
-
[Unreleased]: https://github.com/neolution-ch/eslint-config-neolution/compare/1.
|
|
44
|
+
[Unreleased]: https://github.com/neolution-ch/eslint-config-neolution/compare/1.3.0...HEAD
|
|
45
|
+
|
|
46
|
+
[1.3.0]: https://github.com/neolution-ch/eslint-config-neolution/compare/1.2.0...1.3.0
|
|
39
47
|
|
|
40
48
|
[1.2.0]: https://github.com/neolution-ch/eslint-config-neolution/compare/1.1.0...1.2.0
|
|
41
49
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neolution-ch/eslint-config-neolution",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "This package provides Neolution's .eslintrc as an extensible shared config.",
|
|
5
5
|
"homepage": "https://github.com/neolution-ch/eslint-config-neolution",
|
|
6
6
|
"main": "index.js",
|
package/rules/typescript.js
CHANGED
|
@@ -168,6 +168,10 @@ module.exports = {
|
|
|
168
168
|
// https://typescript-eslint.io/rules/no-unused-vars
|
|
169
169
|
"@typescript-eslint/no-unused-vars": ["error", { vars: "all", args: "after-used", ignoreRestSiblings: true }],
|
|
170
170
|
|
|
171
|
+
// Disable forcing non-null assertions over explicit type casts
|
|
172
|
+
// https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
173
|
+
"@typescript-eslint/non-nullable-type-assertion-style": "off",
|
|
174
|
+
|
|
171
175
|
// Require padding inside curly braces (same as eslint-config-airbnb-base)
|
|
172
176
|
// https://typescript-eslint.io/rules/object-curly-spacing
|
|
173
177
|
"@typescript-eslint/object-curly-spacing": ["error", "always"],
|