diff --git a/index.js b/index.js index 4013b83..2d5ac0c 100644 --- a/index.js +++ b/index.js @@ -43,6 +43,10 @@ module.exports = { modifiers: ['private'], format: ['snake_case'], leadingUnderscore: 'require' + }, + { + selector: 'objectLiteralProperty', + format: ['camelCase', 'snake_case', 'PascalCase'] } ], '@typescript-eslint/no-use-before-define': 'off', diff --git a/package.json b/package.json index d7cda06..006ba5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sapphirecode/eslint-config-ts", - "version": "1.1.27", + "version": "1.1.28", "description": "scode eslint typescript configuration", "main": "index.js", "scripts": {