allow config objects to contain camelCase
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2021-03-15 21:27:31 +01:00
parent 10fa53b0ea
commit 3c4a47e297
2 changed files with 5 additions and 1 deletions

View File

@ -53,6 +53,10 @@ module.exports = {
selector: 'variable', selector: 'variable',
modifiers: ['const', 'global'], modifiers: ['const', 'global'],
format: ['UPPER_CASE', 'snake_case'] format: ['UPPER_CASE', 'snake_case']
},
{
selector: 'objectLiteralProperty',
format: ['camelCase', 'snake_case']
} }
], ],
'@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.32", "version": "1.1.33",
"description": "scode eslint typescript configuration", "description": "scode eslint typescript configuration",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {