Skip to content

Commit 58b3eea

Browse files
author
John Doe
committed
refactor: fix lint
1 parent fbcaae1 commit 58b3eea

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed
Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1-
const baseConfig = require('../../eslint.config.js').default;
1+
import tseslint from 'typescript-eslint';
2+
import baseConfig from '../../eslint.config.js';
23

3-
module.exports = [
4+
export default tseslint.config(
45
...baseConfig,
6+
{
7+
files: ['**/*.ts'],
8+
languageOptions: {
9+
parserOptions: {
10+
projectService: true,
11+
tsconfigRootDir: import.meta.dirname,
12+
},
13+
},
14+
},
515
{
616
files: ['**/*.json'],
717
rules: {
818
'@nx/dependency-checks': 'error',
919
},
1020
},
11-
];
21+
);

0 commit comments

Comments
 (0)