diff --git a/.eslintrc.json b/.eslintrc.json index c57a198..a1f91e3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -116,6 +116,31 @@ "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/naming-convention": [ "error", + { + "selector": "default", + "format": ["camelCase"], + "leadingUnderscore": "allow", + "trailingUnderscore": "allow" + }, + { + "selector": ["variable", "enumMember"], + "format": ["camelCase", "UPPER_CASE"], + "leadingUnderscore": "allow", + "trailingUnderscore": "allow" + }, + { + "selector": "typeLike", + "format": ["PascalCase"] + }, + { + "selector": "function", + "modifiers": ["exported"], + "format": ["camelCase", "PascalCase"] + }, + { + "selector": "objectLiteralProperty", + "format": null + }, { "selector": "interface", "format": ["PascalCase"], @@ -146,7 +171,8 @@ "rules": { "@typescript-eslint/class-name-casing": "off", "@typescript-eslint/typedef": "off", - "@typescript-eslint/explicit-member-accessibility": "off" + "@typescript-eslint/explicit-member-accessibility": "off", + "@typescript-eslint/naming-convention": "off" } }, {