chore(ui,icons,ui-preset,toolbox): Move design system packages to monorepo (#5470)
This commit is contained in:
committed by
GitHub
parent
71853eafdd
commit
e4ce2f4e07
55
.eslintrc.js
55
.eslintrc.js
@@ -126,6 +126,61 @@ module.exports = {
|
||||
"@typescript-eslint/no-var-requires": "off",
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["packages/design-system/ui/**/*.{ts,tsx}"],
|
||||
extends: [
|
||||
"plugin:react/recommended",
|
||||
"plugin:storybook/recommended",
|
||||
"plugin:react-hooks/recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
],
|
||||
plugins: ["@typescript-eslint"],
|
||||
rules: {
|
||||
"react/no-children-prop": "off",
|
||||
"react-hooks/exhaustive-deps": "warn",
|
||||
"react/prop-types": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"error",
|
||||
{ argsIgnorePattern: "^_" },
|
||||
],
|
||||
},
|
||||
settings: {
|
||||
react: {
|
||||
version: "detect",
|
||||
},
|
||||
},
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
project: "./packages/design-system/ui/tsconfig.json",
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["packages/design-system/icons/**/*.{ts,tsx}"],
|
||||
extends: [
|
||||
"plugin:react/recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
],
|
||||
plugins: ["@typescript-eslint"],
|
||||
rules: {
|
||||
"react/no-children-prop": "off",
|
||||
"react/prop-types": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"error",
|
||||
{ argsIgnorePattern: "^_" },
|
||||
],
|
||||
},
|
||||
settings: {
|
||||
react: {
|
||||
version: "detect",
|
||||
},
|
||||
},
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
project: "./packages/design-system/icons/tsconfig.json",
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["packages/admin-ui/ui/**/*.ts", "packages/admin-ui/ui/**/*.tsx"],
|
||||
plugins: ["unused-imports"],
|
||||
|
||||
Reference in New Issue
Block a user