eslint-config-gristow 2.0.7 → 2.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-gristow",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Eslint settings for Greg Ristow",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -79,6 +79,7 @@ module.exports = {
79
79
  'tsdoc/syntax': 'off',
80
80
  // Conflicts w/ prettier:
81
81
  'object-curly-newline': 'off',
82
+ curly: ['error', 'all'],
82
83
  'operator-linebreak': 'off',
83
84
  'implicit-arrow-linebreak': 'off',
84
85
  'function-paren-newline': 'off',
@@ -140,7 +141,9 @@ module.exports = {
140
141
  // often require these.
141
142
  {
142
143
  selector: 'objectLiteralProperty',
143
- format: ['camelCase', 'snake_case'],
144
+ custom: {
145
+ regex: '[a-zA-Z]+(_[a-zA-Z\\d]+)*',
146
+ },
144
147
  },
145
148
  // Make sure types and interfaces are in PascalCase. (Also applies
146
149
  // to classes.)