allow any casing in object literals
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
078b5a02e0
commit
e623469184
4
index.js
4
index.js
@ -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',
|
||||||
|
@ -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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user