@rebeccastevens/eslint-config 1.7.2 → 1.7.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/dist/typescript.cjs +12 -0
- package/dist/typescript.mjs +12 -0
- package/package.json +1 -1
package/dist/typescript.cjs
CHANGED
|
@@ -186,6 +186,18 @@ const settings = {
|
|
|
186
186
|
leadingUnderscore: "allow",
|
|
187
187
|
trailingUnderscore: "forbid",
|
|
188
188
|
},
|
|
189
|
+
{
|
|
190
|
+
selector: "variable",
|
|
191
|
+
filter: {
|
|
192
|
+
regex: "_[^_]+",
|
|
193
|
+
match: true,
|
|
194
|
+
},
|
|
195
|
+
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
196
|
+
modifiers: ["const"],
|
|
197
|
+
prefix: ["m_", "M_"],
|
|
198
|
+
leadingUnderscore: "allow",
|
|
199
|
+
trailingUnderscore: "forbid",
|
|
200
|
+
},
|
|
189
201
|
{
|
|
190
202
|
selector: "variable",
|
|
191
203
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
package/dist/typescript.mjs
CHANGED
|
@@ -184,6 +184,18 @@ const settings = {
|
|
|
184
184
|
leadingUnderscore: "allow",
|
|
185
185
|
trailingUnderscore: "forbid",
|
|
186
186
|
},
|
|
187
|
+
{
|
|
188
|
+
selector: "variable",
|
|
189
|
+
filter: {
|
|
190
|
+
regex: "_[^_]+",
|
|
191
|
+
match: true,
|
|
192
|
+
},
|
|
193
|
+
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
194
|
+
modifiers: ["const"],
|
|
195
|
+
prefix: ["m_", "M_"],
|
|
196
|
+
leadingUnderscore: "allow",
|
|
197
|
+
trailingUnderscore: "forbid",
|
|
198
|
+
},
|
|
187
199
|
{
|
|
188
200
|
selector: "variable",
|
|
189
201
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|