Skip to content

Commit 2fbf912

Browse files
committed
fix(minimatch-vulns): fixed minimatch vulns and update devDeps
1 parent 8d20032 commit 2fbf912

4 files changed

Lines changed: 766 additions & 1054 deletions

File tree

.eslintrc.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
import tseslint from 'typescript-eslint';
2+
import eslintConfigInternxt from '@internxt/eslint-config-internxt';
3+
4+
export default tseslint.config(
5+
{
6+
ignores: ['dist/**', 'node_modules/**', 'coverage/**'],
7+
},
8+
eslintConfigInternxt,
9+
{
10+
languageOptions: {
11+
parser: tseslint.parser,
12+
parserOptions: {
13+
project: 'tsconfig.json',
14+
tsconfigRootDir: import.meta.dirname,
15+
sourceType: 'module',
16+
},
17+
globals: {
18+
node: true,
19+
jest: true,
20+
},
21+
},
22+
rules: {
23+
'@typescript-eslint/no-unused-vars': [
24+
'warn',
25+
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
26+
],
27+
'@typescript-eslint/interface-name-prefix': 'off',
28+
'@typescript-eslint/explicit-function-return-type': 'off',
29+
'@typescript-eslint/explicit-module-boundary-types': 'off',
30+
'@typescript-eslint/no-explicit-any': 'off',
31+
'@typescript-eslint/prefer-readonly': 'warn',
32+
'@typescript-eslint/prefer-optional-chain': 'warn',
33+
'@typescript-eslint/consistent-type-imports': [
34+
'warn',
35+
{ prefer: 'type-imports', fixStyle: 'inline-type-imports' },
36+
],
37+
'max-len': 'off',
38+
'no-console': 'off',
39+
},
40+
},
41+
);

0 commit comments

Comments
 (0)