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

This commit is contained in:
Timo Hocker 2022-10-12 20:48:03 +02:00
parent ef11b6830f
commit 5f32178a27
Signed by: Timo
GPG Key ID: AA43099EDEEB12AC
2 changed files with 2 additions and 25 deletions

View File

@ -35,30 +35,7 @@ module.exports = {
rules: {
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/naming-convention': ['error',
{ selector: 'default', format: ['snake_case'] },
{ selector: 'typeLike', format: ['PascalCase'] },
{
selector: 'property',
modifiers: ['private'],
format: ['snake_case'],
leadingUnderscore: 'require'
},
{
selector: 'variable',
modifiers: ['destructured'],
format: null
},
{
selector: 'variable',
modifiers: ['const', 'global'],
format: ['UPPER_CASE', 'snake_case']
},
{
selector: 'objectLiteralProperty',
format: ['camelCase', 'snake_case']
}
],
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/type-annotation-spacing': 'error',
'@typescript-eslint/sort-type-union-intersection-members': 'error',

View File

@ -1,6 +1,6 @@
{
"name": "@sapphirecode/eslint-config-ts",
"version": "1.2.1",
"version": "1.2.2",
"description": "scode eslint typescript configuration",
"main": "index.js",
"scripts": {