Skip to content

Commit 50a4143

Browse files
authored
Merge pull request #148 from ModusCreateOrg/upgrade-backend-packages
update backend dependencies
2 parents 39926f4 + b36c012 commit 50a4143

File tree

9 files changed

+3295
-4365
lines changed

9 files changed

+3295
-4365
lines changed

backend/.eslintignore

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

backend/.eslintrc.js

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

backend/eslint.config.js

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
const tseslint = require('typescript-eslint');
2+
const prettierConfig = require('eslint-plugin-prettier/recommended');
3+
const js = require('@eslint/js');
4+
const globals = require('globals');
5+
6+
module.exports = tseslint.config(
7+
js.configs.recommended,
8+
...tseslint.configs.recommended,
9+
prettierConfig,
10+
{
11+
ignores: [
12+
'.eslintrc.js',
13+
'node_modules/',
14+
'cdk.out/',
15+
'coverage/',
16+
'config/',
17+
'.vscode/',
18+
'.gitignore',
19+
'.prettierrc',
20+
'.prettierignore',
21+
'.eslintignore',
22+
],
23+
languageOptions: {
24+
ecmaVersion: 'latest',
25+
sourceType: 'module',
26+
parser: tseslint.parser,
27+
parserOptions: {
28+
project: 'tsconfig.json',
29+
sourceType: 'module',
30+
},
31+
globals: {
32+
...globals.node,
33+
...globals.jest,
34+
},
35+
},
36+
rules: {
37+
'prettier/prettier': 'error',
38+
'@typescript-eslint/interface-name-prefix': 'off',
39+
'@typescript-eslint/explicit-function-return-type': 'off',
40+
'@typescript-eslint/explicit-module-boundary-types': 'off',
41+
'@typescript-eslint/no-explicit-any': 'off',
42+
},
43+
},
44+
);

0 commit comments

Comments
 (0)