Skip to content

Commit

Permalink
fix(deps): major, minor and various instrumentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
galkleinman authored Dec 16, 2024
1 parent 5fe91fe commit 0f18865
Show file tree
Hide file tree
Showing 101 changed files with 22,399 additions and 25,552 deletions.
43 changes: 0 additions & 43 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
69 changes: 69 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
const nx = require("@nx/eslint-plugin");
const globals = require("globals");
const js = require("@eslint/js");

const { FlatCompat } = require("@eslint/eslintrc");

const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

module.exports = [
{
plugins: {
"@nx": nx,
},
},
{
files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],

rules: {
"@nx/enforce-module-boundaries": [
"error",
{
enforceBuildableLibDependency: true,
allow: [],

depConstraints: [
{
sourceTag: "*",
onlyDependOnLibsWithTags: ["*"],
},
],
},
],
},
},
...compat.extends("plugin:@nx/typescript").map((config) => ({
...config,
files: ["**/*.ts", "**/*.tsx"],
})),
{
files: ["**/*.ts", "**/*.tsx"],

rules: {
"@typescript-eslint/no-explicit-any": "warn",
},
},
...compat.extends("plugin:@nx/javascript").map((config) => ({
...config,
files: ["**/*.js", "**/*.jsx"],
})),
{
files: ["**/*.js", "**/*.jsx"],
rules: {},
},
{
files: ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js", "**/*.spec.jsx"],

languageOptions: {
globals: {
...globals.jest,
},
},

rules: {},
},
];
Loading

0 comments on commit 0f18865

Please sign in to comment.