fix naming convention
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2021-03-11 20:56:14 +01:00
parent e623469184
commit 30eb7f5c35
2 changed files with 9 additions and 3 deletions

View File

@ -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',

View File

@ -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": {