Skip to content

Commit

Permalink
Updated build configuration
Browse files Browse the repository at this point in the history
Updated dependencies
  • Loading branch information
erayhanoglu committed Nov 18, 2023
1 parent 9068f3b commit 84b4c3a
Show file tree
Hide file tree
Showing 23 changed files with 3,700 additions and 1,602 deletions.
40 changes: 25 additions & 15 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
},
"overrides": [
{
"files": [
"**/*.ts",
"**/*.tsx",
"**/*.mts",
"**/*.cts"
"files": ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
"plugins": [
"@typescript-eslint",
"simple-import-sort",
"import",
"unused-imports",
"security"
],
"extends": [
"plugin:@typescript-eslint/recommended",
Expand All @@ -20,18 +22,15 @@
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"project": "tsconfig.json",
"ecmaVersion": 2022,
"project": [
"tsconfig.json",
"./test/tsconfig.json"
],
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"simple-import-sort",
"import",
"unused-imports",
"security"
],
"rules": {
"import/export": "off",
"import/no-cycle": "error",
"import/no-unresolved": ["off", {"commonjs": true, "amd": true}],
"import/extensions": ["error", "ignorePackages"],
Expand Down Expand Up @@ -88,6 +87,10 @@
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-misused-new": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unsafe-declaration-merging": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"arrow-parens": [
"off",
"as-needed"
Expand Down Expand Up @@ -146,6 +149,7 @@
{
"line": {
"markers": [
"/",
"#region",
"#endregion",
"region",
Expand Down Expand Up @@ -182,6 +186,11 @@
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
},
"babelOptions": {
"plugins": [
"@babel/plugin-syntax-import-assertions"
]
}
},
"rules": {
Expand All @@ -206,7 +215,8 @@
"prefer-rest-params": 0,
"require-jsdoc": 0,
"quotes": 0,
"indent": 0
"indent": 0,
"new-cap": 0
}
}
]
Expand Down
7 changes: 7 additions & 0 deletions .madgerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
}
Loading

0 comments on commit 84b4c3a

Please sign in to comment.