remove naming convention
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
ef11b6830f
commit
5f32178a27
25
index.js
25
index.js
@ -35,30 +35,7 @@ module.exports = {
|
|||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
'@typescript-eslint/camelcase': 'off',
|
'@typescript-eslint/camelcase': 'off',
|
||||||
'@typescript-eslint/naming-convention': ['error',
|
'@typescript-eslint/naming-convention': 'off',
|
||||||
{ 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/no-use-before-define': 'off',
|
'@typescript-eslint/no-use-before-define': 'off',
|
||||||
'@typescript-eslint/type-annotation-spacing': 'error',
|
'@typescript-eslint/type-annotation-spacing': 'error',
|
||||||
'@typescript-eslint/sort-type-union-intersection-members': 'error',
|
'@typescript-eslint/sort-type-union-intersection-members': 'error',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@sapphirecode/eslint-config-ts",
|
"name": "@sapphirecode/eslint-config-ts",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"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