Skip to content

Commit f63a1f8

Browse files
committed
feat(skill-assessment-service): Add ESLint configuration
1 parent 1637938 commit f63a1f8

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import js from '@eslint/js';
2+
import tseslint from '@typescript-eslint/eslint-plugin';
3+
import tsparser from '@typescript-eslint/parser';
4+
import prettier from 'eslint-plugin-prettier';
5+
6+
export default [
7+
js.configs.recommended,
8+
{
9+
files: ['**/*.ts'],
10+
languageOptions: {
11+
parser: tsparser,
12+
parserOptions: {
13+
project: './tsconfig.json',
14+
tsconfigRootDir: import.meta.dirname,
15+
},
16+
},
17+
plugins: {
18+
'@typescript-eslint': tseslint,
19+
prettier,
20+
},
21+
rules: {
22+
...prettier.configs.recommended.rules,
23+
'@typescript-eslint/no-unused-vars': 'warn',
24+
'@typescript-eslint/explicit-function-return-type': 'off',
25+
},
26+
},
27+
];

0 commit comments

Comments
 (0)