Skip to content

Commit

Permalink
feat(eslint): enable consistent-type-imports and consistent-type-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Aug 25, 2022
1 parent 83d53a0 commit fd9936f
Show file tree
Hide file tree
Showing 3 changed files with 290 additions and 333 deletions.
2 changes: 2 additions & 0 deletions cfg/eslint-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ module.exports = {
},
},
],
'@typescript-eslint/consistent-type-imports': 2,
'@typescript-eslint/consistent-type-exports': 2,
'@typescript-eslint/consistent-type-assertions': 2,
'@typescript-eslint/consistent-type-definitions': [2, 'interface'],
'@typescript-eslint/consistent-generic-constructors': [2, 'constructor'],
Expand Down
2 changes: 1 addition & 1 deletion src/util/buildInfo.util.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { localTime } from '@naturalcycles/js-lib'
import { BuildInfo } from './buildInfo.model'
import type { BuildInfo } from './buildInfo.model'
import {
gitCurrentBranchName,
gitCurrentCommitSha,
Expand Down
Loading

0 comments on commit fd9936f

Please sign in to comment.