Skip to content

Commit 0f18865

Browse files
authored
fix(deps): major, minor and various instrumentation fixes
1 parent 5fe91fe commit 0f18865

File tree

101 files changed

+22399
-25552
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+22399
-25552
lines changed

.eslintrc.json

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

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

eslint.config.cjs

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
const nx = require("@nx/eslint-plugin");
2+
const globals = require("globals");
3+
const js = require("@eslint/js");
4+
5+
const { FlatCompat } = require("@eslint/eslintrc");
6+
7+
const compat = new FlatCompat({
8+
baseDirectory: __dirname,
9+
recommendedConfig: js.configs.recommended,
10+
allConfig: js.configs.all,
11+
});
12+
13+
module.exports = [
14+
{
15+
plugins: {
16+
"@nx": nx,
17+
},
18+
},
19+
{
20+
files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
21+
22+
rules: {
23+
"@nx/enforce-module-boundaries": [
24+
"error",
25+
{
26+
enforceBuildableLibDependency: true,
27+
allow: [],
28+
29+
depConstraints: [
30+
{
31+
sourceTag: "*",
32+
onlyDependOnLibsWithTags: ["*"],
33+
},
34+
],
35+
},
36+
],
37+
},
38+
},
39+
...compat.extends("plugin:@nx/typescript").map((config) => ({
40+
...config,
41+
files: ["**/*.ts", "**/*.tsx"],
42+
})),
43+
{
44+
files: ["**/*.ts", "**/*.tsx"],
45+
46+
rules: {
47+
"@typescript-eslint/no-explicit-any": "warn",
48+
},
49+
},
50+
...compat.extends("plugin:@nx/javascript").map((config) => ({
51+
...config,
52+
files: ["**/*.js", "**/*.jsx"],
53+
})),
54+
{
55+
files: ["**/*.js", "**/*.jsx"],
56+
rules: {},
57+
},
58+
{
59+
files: ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js", "**/*.spec.jsx"],
60+
61+
languageOptions: {
62+
globals: {
63+
...globals.jest,
64+
},
65+
},
66+
67+
rules: {},
68+
},
69+
];

0 commit comments

Comments
 (0)