Skip to content

Commit

Permalink
Enable eslint naming-convention rule (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Mar 9, 2022
1 parent 52fc856 commit ea133bb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/small-beds-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"aws-sdk-js-codemod": patch
---

Enable eslint naming-convention rule with camelCase, UPPER_CASE and PascalCase
10 changes: 9 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@
"rules": {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"@typescript-eslint/array-type": ["error", { "default": "array" }]
"@typescript-eslint/array-type": ["error", { "default": "array" }],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "default",
"format": ["camelCase", "UPPER_CASE", "PascalCase"],
"leadingUnderscore": "allow"
}
]
},
"ignorePatterns": ["__fixtures__"]
}

0 comments on commit ea133bb

Please sign in to comment.