Skip to content

Commit

Permalink
chore(nx): remove nx from project
Browse files Browse the repository at this point in the history
  • Loading branch information
balzdur committed Jul 11, 2023
1 parent ac56a97 commit ff4b0a7
Show file tree
Hide file tree
Showing 457 changed files with 16,698 additions and 36,095 deletions.
121 changes: 54 additions & 67 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,87 +1,74 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nx", "simple-import-sort"],
"rules": {
"no-duplicate-imports": [
"error",
{
"includeExports": true
}
],
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"storybook/no-uninstalled-addons": [
"error",
{
"ignore": ["@nx/react/plugins/storybook"]
}
]
"env": {
"browser": true,
"es2020": true
},
"ignorePatterns": ["**/*"],
"extends": [
"eslint:recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
"plugin:storybook/recommended",

//Keep this at the end for compatibility with prettier
"prettier"
],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": ["@marble-front/builder"],
"depConstraints": [
{
"sourceTag": "type:api",
"onlyDependOnLibsWithTags": ["type:util"]
},
{
"sourceTag": "type:app",
"onlyDependOnLibsWithTags": [
"type:ui",
"type:util",
"type:service"
]
},
{
"sourceTag": "type:service",
"onlyDependOnLibsWithTags": ["type:util"]
},
{
"sourceTag": "type:ui",
"onlyDependOnLibsWithTags": ["type:ui", "type:util"]
},
{
"sourceTag": "type:util",
"onlyDependOnLibsWithTags": ["type:util"]
},
{
"sourceTag": "scope:webapp",
"onlyDependOnLibsWithTags": ["scope:webapp", "scope:shared"]
},
{
"sourceTag": "scope:shared",
"onlyDependOnLibsWithTags": ["scope:shared"]
}
]
}
]
"files": ["*.config.js"],
"env": {
"node": true
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": true
},
"rules": {
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/consistent-type-imports": [
"error",
{
"fixStyle": "inline-type-imports"
}
],
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
]
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
}
],
"extends": ["plugin:storybook/recommended"]
"plugins": ["react-refresh", "simple-import-sort"],
"rules": {
"no-duplicate-imports": [
"error",
{
"includeExports": true
}
],
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"storybook/no-uninstalled-addons": "error"
},
"settings": {
"jsx-a11y": {
"components": {
"Button": "button"
}
}
}
}
14 changes: 8 additions & 6 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Add files here to ignore them from prettier formatting
/.vscode/

/dist
/coverage
# app-builder
/packages/app-builder/.cache/
/packages/app-builder/build/
/packages/app-builder/public/build/
/packages/app-builder/src/services/routes/routes.ts

# Generated
/libs/tailwind-preset/src/lib
/libs/api/marble/src/lib/generated
/apps/builder/app/services/routes/routes.ts
# marble-api
/packages/marble-api/src/generated
51 changes: 0 additions & 51 deletions apps/builder/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions apps/builder/app/routes/index.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions apps/builder/package.json

This file was deleted.

62 changes: 0 additions & 62 deletions apps/builder/project.json

This file was deleted.

Loading

0 comments on commit ff4b0a7

Please sign in to comment.