Skip to content

Commit 71b5ca5

Browse files
authored
Allow more formats for default variables (#86)
* Version bump * Update package.json * Add 'UPPER_CASE', 'PascalCase', 'snake_case'
1 parent 24973b4 commit 71b5ca5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737
'error',
3838
{
3939
selector: 'default',
40-
format: ['camelCase'],
40+
format: ['camelCase', 'UPPER_CASE', 'PascalCase', 'snake_case'],
4141
},
4242
{
4343
selector: 'variable',

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-typescript-tc",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "ESLint shareable config for TypeScript projects",
55
"keywords": [
66
"eslintconfig",

0 commit comments

Comments
 (0)