Skip to content

Commit

Permalink
typescript: update import/extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
rix1 committed Sep 1, 2020
1 parent 283639b commit c522a9b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ module.exports = {
],
rules: {
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/camelcase': false,
'@typescript-eslint/camelcase': 'off',
'import/extensions': [
'error',
'ignorePackages',
{
'js': 'never',
'jsx': 'never',
'ts': 'never',
'tsx': 'never'
}
]
},
settings: {
'import/resolver': {
Expand Down

0 comments on commit c522a9b

Please sign in to comment.