Skip to content

Commit

Permalink
fix(eslint-config): use typescript parser for all files
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Feb 8, 2024
1 parent 8ceae93 commit 5cc22b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/eslint-config/ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: true
},
overrides: [
{
files: ['*.ts', '*.mts', '*.cts', '*.tsx'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: true
},
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:import/typescript'
Expand Down

0 comments on commit 5cc22b8

Please sign in to comment.