chore(dx): get rid of references to NX

This commit is contained in:
Elian Doran
2025-09-03 18:23:47 +03:00
parent 11d95b89e1
commit e71284d887
21 changed files with 14 additions and 271 deletions

View File

@@ -1,60 +0,0 @@
import nx from "@nx/eslint-plugin";
import reactHooks from "eslint-plugin-react-hooks";
export default [
...nx.configs["flat/base"],
...nx.configs["flat/typescript"],
...nx.configs["flat/javascript"],
{
files: ['**/*.{ts,tsx}'],
plugins: { 'react-hooks': reactHooks },
rules: {
'react-hooks/rules-of-hooks': 'error',
}
},
{
"ignores": [
"**/dist",
"**/vite.config.*.timestamp*",
"**/vitest.config.*.timestamp*"
]
},
{
files: [
"**/*.tsx",
],
rules: {
"@nx/enforce-module-boundaries": [
"error",
{
enforceBuildableLibDependency: true,
allow: [
"^.*/eslint(\\.base)?\\.config\\.[cm]?js$"
],
depConstraints: [
{
sourceTag: "*",
onlyDependOnLibsWithTags: [
"*"
]
}
]
}
]
}
},
{
files: [
"**/*.ts",
"**/*.tsx",
"**/*.cts",
"**/*.mts",
"**/*.js",
"**/*.jsx",
"**/*.cjs",
"**/*.mjs"
],
// Override or add rules here
rules: {}
}
];