diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000000..06cc47d9a2 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,35 @@ +{ + "root": true, + "ignorePatterns": ["**/*"], + "plugins": ["@nrwl/nx"], + "overrides": [ + { + "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], + "rules": { + "@nrwl/nx/enforce-module-boundaries": [ + "error", + { + "enforceBuildableLibDependency": true, + "allow": [], + "depConstraints": [ + { + "sourceTag": "*", + "onlyDependOnLibsWithTags": ["*"] + } + ] + } + ] + } + }, + { + "files": ["*.ts", "*.tsx"], + "extends": ["plugin:@nrwl/nx/typescript"], + "rules": {} + }, + { + "files": ["*.js", "*.jsx"], + "extends": ["plugin:@nrwl/nx/javascript"], + "rules": {} + } + ] +} diff --git a/libs/remix-ui/vertical-icons-panel/.babelrc b/libs/remix-ui/vertical-icons-panel/.babelrc index 64a3748691..09d67939cc 100644 --- a/libs/remix-ui/vertical-icons-panel/.babelrc +++ b/libs/remix-ui/vertical-icons-panel/.babelrc @@ -1,4 +1,4 @@ { "presets": ["@nrwl/react/babel"], "plugins": [] -} \ No newline at end of file +} diff --git a/libs/remix-ui/vertical-icons-panel/.eslintrc.json b/libs/remix-ui/vertical-icons-panel/.eslintrc.json index b545a2cd9e..299346762b 100644 --- a/libs/remix-ui/vertical-icons-panel/.eslintrc.json +++ b/libs/remix-ui/vertical-icons-panel/.eslintrc.json @@ -16,4 +16,4 @@ "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": "error" } -} \ No newline at end of file +} diff --git a/libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.module.css b/libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.module.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/nx.json b/nx.json index fd90c35f84..aa46ad3fc7 100644 --- a/nx.json +++ b/nx.json @@ -139,13 +139,5 @@ "remix-ui-tabs": { "tags": [] } - }, - "targetDependencies": { - "build": [ - { - "target": "build", - "projects": "dependencies" - } - ] } } diff --git a/workspace.json b/workspace.json index e0e3b2fab4..71595bcb77 100644 --- a/workspace.json +++ b/workspace.json @@ -1,5 +1,71 @@ { "version": 1, + "cli": { + "defaultCollection": "@nrwl/react" + }, + "defaultProject": "remix-ide", + "schematics": { + "@nrwl/workspace": { + "library": { + "linter": "eslint" + } + }, + "@nrwl/cypress": { + "cypress-project": { + "linter": "eslint" + } + }, + "@nrwl/react": { + "application": { + "style": "css", + "linter": "eslint", + "babel": true + }, + "component": { + "style": "css" + }, + "library": { + "style": "css", + "linter": "eslint" + } + }, + "@nrwl/next": { + "application": { + "linter": "eslint" + } + }, + "@nrwl/web": { + "application": { + "linter": "eslint" + } + }, + "@nrwl/node": { + "application": { + "linter": "eslint" + }, + "library": { + "linter": "eslint" + } + }, + "@nrwl/nx-plugin": { + "plugin": { + "linter": "eslint" + } + }, + "@nrwl/nest": { + "application": { + "linter": "eslint" + } + }, + "@nrwl/express": { + "application": { + "linter": "eslint" + }, + "library": { + "linter": "eslint" + } + } + }, "projects": { "remix-ide": { "root": "apps/remix-ide", @@ -1121,19 +1187,36 @@ "linter": "eslint" } }, - "@nrwl/nest": { - "application": { - "linter": "eslint" + "@remix-ui-verticaliconspanel": { + "root": "libs/@remix-ui/verticaliconspanel", + "sourceRoot": "libs/@remix-ui/verticaliconspanel/src", + "projectType": "library", + "architect": { + "lint": { + "builder": "@nrwl/linter:eslint", + "options": { + "lintFilePatterns": [ + "libs/@remix-ui/verticaliconspanel/**/*.{ts,tsx,js,jsx}" + ] + } + } } }, - "@nrwl/express": { - "application": { - "linter": "eslint" - }, - "library": { - "linter": "eslint" + "remix-ui-vertical-icons-panel": { + "root": "libs/remix-ui/vertical-icons-panel", + "sourceRoot": "libs/remix-ui/vertical-icons-panel/src", + "projectType": "library", + "architect": { + "lint": { + "builder": "@nrwl/linter:eslint", + "options": { + "lintFilePatterns": [ + "libs/remix-ui/vertical-icons-panel/**/*.{ts,tsx,js,jsx}" + ] + } + } } } }, "defaultProject": "remix-ide" -} \ No newline at end of file +}