diff --git a/index.js b/index.js index 81eb172..b341abc 100644 --- a/index.js +++ b/index.js @@ -53,6 +53,10 @@ module.exports = { selector: 'variable', modifiers: ['const', 'global'], format: ['UPPER_CASE', 'snake_case'] + }, + { + selector: 'objectLiteralProperty', + format: ['camelCase', 'snake_case'] } ], '@typescript-eslint/no-use-before-define': 'off', diff --git a/package.json b/package.json index f04d6b1..37982f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sapphirecode/eslint-config-ts", - "version": "1.1.32", + "version": "1.1.33", "description": "scode eslint typescript configuration", "main": "index.js", "scripts": {