@rebeccastevens/eslint-config 1.3.15 → 1.3.18

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,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.18](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.17...v1.3.18) (2022-04-09)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * tweak naming-convention" ([9f12b8a](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/9f12b8a3641217c8eb037993fbf41daeb381fa82))
10
+
11
+ ## [1.3.17](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.16...v1.3.17) (2022-04-05)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * tweak naming-convention" ([ab792d2](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/ab792d2b3a40b22723bb2384cae4692e100bf754))
17
+
18
+ ## [1.3.16](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.15...v1.3.16) (2022-04-04)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * tweak naming-convention" ([092ae10](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/092ae102744c68657832367634daa679fa2f36b9))
24
+
4
25
  ## [1.3.15](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.14...v1.3.15) (2022-04-04)
5
26
 
6
27
 
@@ -80,16 +80,16 @@ const settings = {
80
80
  {
81
81
  selector: "variable",
82
82
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
83
- leadingUnderscore: "forbid",
84
- trailingUnderscore: "forbid",
85
83
  prefix: ["m_", "M_"],
84
+ leadingUnderscore: "allow",
85
+ trailingUnderscore: "forbid",
86
86
  },
87
87
  {
88
88
  selector: "variable",
89
89
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
90
- leadingUnderscore: "forbid",
91
- trailingUnderscore: "forbid",
92
90
  modifiers: ["const"],
91
+ leadingUnderscore: "allow",
92
+ trailingUnderscore: "forbid",
93
93
  },
94
94
  {
95
95
  selector: "variable",
@@ -100,21 +100,32 @@ const settings = {
100
100
  selector: "memberLike",
101
101
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
102
102
  prefix: ["m_", "M_"],
103
+ leadingUnderscore: "allow",
104
+ trailingUnderscore: "forbid",
105
+ },
106
+ {
107
+ selector: "memberLike",
108
+ format: ["camelCase", "PascalCase", "UPPER_CASE"],
109
+ modifiers: ["readonly"],
110
+ leadingUnderscore: "allow",
111
+ trailingUnderscore: "forbid",
103
112
  },
104
113
  {
105
- selector: ["classMethod", "typeMethod"],
114
+ selector: ["classMethod", "typeMethod", "typeProperty"],
106
115
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
116
+ leadingUnderscore: "allow",
117
+ trailingUnderscore: "forbid",
107
118
  },
108
119
  {
109
120
  selector: "enumMember",
110
121
  format: ["UPPER_CASE"],
111
- leadingUnderscore: "forbid",
122
+ leadingUnderscore: "allow",
112
123
  trailingUnderscore: "forbid",
113
124
  },
114
125
  {
115
126
  selector: "typeLike",
116
127
  format: ["PascalCase"],
117
- leadingUnderscore: "forbid",
128
+ leadingUnderscore: "allow",
118
129
  trailingUnderscore: "forbid",
119
130
  },
120
131
  {
@@ -78,16 +78,16 @@ const settings = {
78
78
  {
79
79
  selector: "variable",
80
80
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
81
- leadingUnderscore: "forbid",
82
- trailingUnderscore: "forbid",
83
81
  prefix: ["m_", "M_"],
82
+ leadingUnderscore: "allow",
83
+ trailingUnderscore: "forbid",
84
84
  },
85
85
  {
86
86
  selector: "variable",
87
87
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
88
- leadingUnderscore: "forbid",
89
- trailingUnderscore: "forbid",
90
88
  modifiers: ["const"],
89
+ leadingUnderscore: "allow",
90
+ trailingUnderscore: "forbid",
91
91
  },
92
92
  {
93
93
  selector: "variable",
@@ -98,21 +98,32 @@ const settings = {
98
98
  selector: "memberLike",
99
99
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
100
100
  prefix: ["m_", "M_"],
101
+ leadingUnderscore: "allow",
102
+ trailingUnderscore: "forbid",
103
+ },
104
+ {
105
+ selector: "memberLike",
106
+ format: ["camelCase", "PascalCase", "UPPER_CASE"],
107
+ modifiers: ["readonly"],
108
+ leadingUnderscore: "allow",
109
+ trailingUnderscore: "forbid",
101
110
  },
102
111
  {
103
- selector: ["classMethod", "typeMethod"],
112
+ selector: ["classMethod", "typeMethod", "typeProperty"],
104
113
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
114
+ leadingUnderscore: "allow",
115
+ trailingUnderscore: "forbid",
105
116
  },
106
117
  {
107
118
  selector: "enumMember",
108
119
  format: ["UPPER_CASE"],
109
- leadingUnderscore: "forbid",
120
+ leadingUnderscore: "allow",
110
121
  trailingUnderscore: "forbid",
111
122
  },
112
123
  {
113
124
  selector: "typeLike",
114
125
  format: ["PascalCase"],
115
- leadingUnderscore: "forbid",
126
+ leadingUnderscore: "allow",
116
127
  trailingUnderscore: "forbid",
117
128
  },
118
129
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "1.3.15",
3
+ "version": "1.3.18",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"