This commit is contained in:
parent
e623469184
commit
30eb7f5c35
10
index.js
10
index.js
@ -45,8 +45,14 @@ module.exports = {
|
|||||||
leadingUnderscore: 'require'
|
leadingUnderscore: 'require'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
selector: 'objectLiteralProperty',
|
selector: 'variable',
|
||||||
format: ['camelCase', 'snake_case', 'PascalCase']
|
modifier: 'destructured',
|
||||||
|
format: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
selector: 'variable',
|
||||||
|
modifier: ['const', 'global'],
|
||||||
|
format: ['UPPEER_CASE', '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.28",
|
"version": "1.1.29",
|
||||||
"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