allow config objects to contain camelCase
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
10fa53b0ea
commit
3c4a47e297
4
index.js
4
index.js
@ -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',
|
||||||
|
@ -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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user