Skip to content

Commit

Permalink
Fix TypeScript Dup Imports (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
henriqueleite42 authored Jan 6, 2022
1 parent 047728a commit c574a25
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Dependencies

## [5.2.1] - 2022-01-06

### Added

### Changed

### Fixed

- Typescript `no-duplicate-imports`

### Removed

### Dependencies

## [5.2.0] - 2022-01-03

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@techmmunity/eslint-config",
"version": "5.2.0",
"version": "5.2.1",
"license": "Apache-2.0",
"author": "Techmmunity",
"description": "Techmmunity Style Guide",
Expand Down
2 changes: 2 additions & 0 deletions src/configs/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ module.exports = {
"parent",
["sibling", "index"],
// eslint-disable-next-line prettier/prettier
["/\/configs?\//", "/^configs?$/"],
// eslint-disable-next-line prettier/prettier
["/\/enums?\//", "/\/types?\//", "/\/types?.(ts|js)$/"],
],
alphabetize: {
Expand Down
2 changes: 2 additions & 0 deletions src/configs/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ module.exports = {
"@typescript-eslint/lines-between-class-members": "error",
"no-dupe-class-members": "off",
"@typescript-eslint/no-dupe-class-members": "error",
"no-duplicate-imports": "off",
"@typescript-eslint/no-duplicate-imports": "error",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "off",
"no-invalid-this": "off",
Expand Down

0 comments on commit c574a25

Please sign in to comment.