@rebeccastevens/eslint-config 1.5.1 → 1.5.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/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
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.5.3](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.5.2...v1.5.3) (2023-03-10)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * allowIndexSignaturePropertyAccess for dot-notation ([a70dcfb](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/a70dcfb142f8ee5ac0d04921ef6e4cbb496117f3))
10
+
11
+ ## [1.5.2](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.5.1...v1.5.2) (2023-02-06)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * allow parameter names only made of "_"s ([6d3f3d3](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/6d3f3d3acb129d8390e1980f5097508ecc65dd20))
17
+
4
18
  ## [1.5.1](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.5.0...v1.5.1) (2023-02-06)
5
19
 
6
20
 
@@ -45,7 +45,12 @@ const settings = {
45
45
  "@typescript-eslint/consistent-indexed-object-style": "error",
46
46
  "@typescript-eslint/consistent-type-definitions": ["error", "type"],
47
47
  "@typescript-eslint/consistent-type-imports": "error",
48
- "@typescript-eslint/dot-notation": "error",
48
+ "@typescript-eslint/dot-notation": [
49
+ "error",
50
+ {
51
+ allowIndexSignaturePropertyAccess: true,
52
+ },
53
+ ],
49
54
  "@typescript-eslint/explicit-function-return-type": [
50
55
  "off",
51
56
  {
@@ -74,7 +79,7 @@ const settings = {
74
79
  {
75
80
  selector: "variableLike",
76
81
  filter: {
77
- regex: "_",
82
+ regex: "_[^_]+",
78
83
  match: true,
79
84
  },
80
85
  format: ["camelCase", "PascalCase"],
@@ -43,7 +43,12 @@ const settings = {
43
43
  "@typescript-eslint/consistent-indexed-object-style": "error",
44
44
  "@typescript-eslint/consistent-type-definitions": ["error", "type"],
45
45
  "@typescript-eslint/consistent-type-imports": "error",
46
- "@typescript-eslint/dot-notation": "error",
46
+ "@typescript-eslint/dot-notation": [
47
+ "error",
48
+ {
49
+ allowIndexSignaturePropertyAccess: true,
50
+ },
51
+ ],
47
52
  "@typescript-eslint/explicit-function-return-type": [
48
53
  "off",
49
54
  {
@@ -72,7 +77,7 @@ const settings = {
72
77
  {
73
78
  selector: "variableLike",
74
79
  filter: {
75
- regex: "_",
80
+ regex: "_[^_]+",
76
81
  match: true,
77
82
  },
78
83
  format: ["camelCase", "PascalCase"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"