@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.
@@ -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"],
@@ -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"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"