Skip to content

Commit

Permalink
Merge pull request #50 from pdq/fix-naming-convention-import-pascal-case
Browse files Browse the repository at this point in the history
fix: allow pascal case for imports
  • Loading branch information
stevenpdq authored Dec 14, 2023
2 parents 4f72aca + c207c57 commit e36e72d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Originally forked from `jane/eslint-plugin-jane`.


# Contributing
Be sure to `npm publish <type>` in each PR so the version can get published
Be sure to `npm version <type>` in each PR so the version can get published
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pdq/eslint-plugin-pdq",
"description": "pdq's ESLint plugin and configurations",
"version": "2.5.5",
"version": "2.5.6",
"author": "pdq",
"license": "MIT",
"main": "index.js",
Expand Down
4 changes: 4 additions & 0 deletions rules/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ const typescriptRules = {
match: false,
},
},
{
selector: 'import',
format: ['camelCase', 'PascalCase'],
},
],
'@typescript-eslint/no-array-constructor': 2,
'@typescript-eslint/no-empty-interface': 2,
Expand Down

0 comments on commit e36e72d

Please sign in to comment.