allow any casing in object literals
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2021-02-02 14:35:53 +01:00
parent 078b5a02e0
commit e623469184
2 changed files with 5 additions and 1 deletions

View File

@ -43,6 +43,10 @@ module.exports = {
modifiers: ['private'], modifiers: ['private'],
format: ['snake_case'], format: ['snake_case'],
leadingUnderscore: 'require' leadingUnderscore: 'require'
},
{
selector: 'objectLiteralProperty',
format: ['camelCase', 'snake_case', 'PascalCase']
} }
], ],
'@typescript-eslint/no-use-before-define': 'off', '@typescript-eslint/no-use-before-define': 'off',

View File

@ -1,6 +1,6 @@
{ {
"name": "@sapphirecode/eslint-config-ts", "name": "@sapphirecode/eslint-config-ts",
"version": "1.1.27", "version": "1.1.28",
"description": "scode eslint typescript configuration", "description": "scode eslint typescript configuration",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {