This commit is contained in:
parent
e623469184
commit
30eb7f5c35
10
index.js
10
index.js
@ -45,8 +45,14 @@ module.exports = {
|
||||
leadingUnderscore: 'require'
|
||||
},
|
||||
{
|
||||
selector: 'objectLiteralProperty',
|
||||
format: ['camelCase', 'snake_case', 'PascalCase']
|
||||
selector: 'variable',
|
||||
modifier: 'destructured',
|
||||
format: null
|
||||
},
|
||||
{
|
||||
selector: 'variable',
|
||||
modifier: ['const', 'global'],
|
||||
format: ['UPPEER_CASE', 'snake_case']
|
||||
}
|
||||
],
|
||||
'@typescript-eslint/no-use-before-define': 'off',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@sapphirecode/eslint-config-ts",
|
||||
"version": "1.1.28",
|
||||
"version": "1.1.29",
|
||||
"description": "scode eslint typescript configuration",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user