@rebeccastevens/eslint-config 3.2.1 → 3.2.2
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/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3156,21 +3156,21 @@ async function typescript(options) {
|
|
|
3156
3156
|
modifiers: ["destructured"],
|
|
3157
3157
|
},
|
|
3158
3158
|
{
|
|
3159
|
-
selector: "
|
|
3159
|
+
selector: ["autoAccessor", "parameterProperty", "property"],
|
|
3160
3160
|
filter: { regex: "^[A-Z0-9_]+$", match: true },
|
|
3161
3161
|
format: ["UPPER_CASE"],
|
|
3162
3162
|
leadingUnderscore: "forbid",
|
|
3163
3163
|
trailingUnderscore: "forbid",
|
|
3164
3164
|
},
|
|
3165
3165
|
{
|
|
3166
|
-
selector: "
|
|
3166
|
+
selector: ["autoAccessor", "parameterProperty", "property"],
|
|
3167
3167
|
format: ["camelCase", "PascalCase"],
|
|
3168
3168
|
prefix: ["m_", "M_"],
|
|
3169
3169
|
leadingUnderscore: "forbid",
|
|
3170
3170
|
trailingUnderscore: "forbid",
|
|
3171
3171
|
},
|
|
3172
3172
|
{
|
|
3173
|
-
selector: "
|
|
3173
|
+
selector: ["autoAccessor", "parameterProperty", "property"],
|
|
3174
3174
|
filter: { regex: "_[^_]+", match: true },
|
|
3175
3175
|
format: ["camelCase", "PascalCase"],
|
|
3176
3176
|
modifiers: ["readonly"],
|
|
@@ -3179,7 +3179,7 @@ async function typescript(options) {
|
|
|
3179
3179
|
trailingUnderscore: "forbid",
|
|
3180
3180
|
},
|
|
3181
3181
|
{
|
|
3182
|
-
selector: "
|
|
3182
|
+
selector: ["autoAccessor", "parameterProperty", "property"],
|
|
3183
3183
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
3184
3184
|
modifiers: ["readonly"],
|
|
3185
3185
|
leadingUnderscore: "allow",
|
package/dist/index.mjs
CHANGED
|
@@ -3134,21 +3134,21 @@ async function typescript(options) {
|
|
|
3134
3134
|
modifiers: ["destructured"],
|
|
3135
3135
|
},
|
|
3136
3136
|
{
|
|
3137
|
-
selector: "
|
|
3137
|
+
selector: ["autoAccessor", "parameterProperty", "property"],
|
|
3138
3138
|
filter: { regex: "^[A-Z0-9_]+$", match: true },
|
|
3139
3139
|
format: ["UPPER_CASE"],
|
|
3140
3140
|
leadingUnderscore: "forbid",
|
|
3141
3141
|
trailingUnderscore: "forbid",
|
|
3142
3142
|
},
|
|
3143
3143
|
{
|
|
3144
|
-
selector: "
|
|
3144
|
+
selector: ["autoAccessor", "parameterProperty", "property"],
|
|
3145
3145
|
format: ["camelCase", "PascalCase"],
|
|
3146
3146
|
prefix: ["m_", "M_"],
|
|
3147
3147
|
leadingUnderscore: "forbid",
|
|
3148
3148
|
trailingUnderscore: "forbid",
|
|
3149
3149
|
},
|
|
3150
3150
|
{
|
|
3151
|
-
selector: "
|
|
3151
|
+
selector: ["autoAccessor", "parameterProperty", "property"],
|
|
3152
3152
|
filter: { regex: "_[^_]+", match: true },
|
|
3153
3153
|
format: ["camelCase", "PascalCase"],
|
|
3154
3154
|
modifiers: ["readonly"],
|
|
@@ -3157,7 +3157,7 @@ async function typescript(options) {
|
|
|
3157
3157
|
trailingUnderscore: "forbid",
|
|
3158
3158
|
},
|
|
3159
3159
|
{
|
|
3160
|
-
selector: "
|
|
3160
|
+
selector: ["autoAccessor", "parameterProperty", "property"],
|
|
3161
3161
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
3162
3162
|
modifiers: ["readonly"],
|
|
3163
3163
|
leadingUnderscore: "allow",
|