diff --git a/packages/console/package.json b/packages/console/package.json index 6da53bf86..6e88af782 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -25,7 +25,7 @@ "@parcel/transformer-mdx": "^2.5.0", "@parcel/transformer-sass": "^2.5.0", "@silverhand/eslint-config": "^0.11.0", - "@silverhand/eslint-config-react": "^0.10.3", + "@silverhand/eslint-config-react": "^0.11.0", "@silverhand/essentials": "^1.1.6", "@silverhand/ts-config": "^0.11.0", "@silverhand/ts-config-react": "^0.11.0", @@ -75,7 +75,10 @@ "@mdx/components/*": "./src/mdx-components/$1" }, "eslintConfig": { - "extends": "@silverhand/react" + "extends": "@silverhand/react", + "rules": { + "complexity": "off" + } }, "stylelint": { "extends": "@silverhand/eslint-config-react/.stylelintrc" diff --git a/packages/ui/package.json b/packages/ui/package.json index 4b0b742a5..f70541e36 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -23,7 +23,7 @@ "@parcel/transformer-sass": "^2.5.0", "@peculiar/webcrypto": "^1.3.3", "@silverhand/eslint-config": "^0.11.0", - "@silverhand/eslint-config-react": "^0.10.3", + "@silverhand/eslint-config-react": "^0.11.0", "@silverhand/essentials": "^1.1.7", "@silverhand/ts-config": "^0.11.0", "@silverhand/ts-config-react": "^0.11.0", @@ -61,7 +61,10 @@ "@/*": "./src/$1" }, "eslintConfig": { - "extends": "@silverhand/react" + "extends": "@silverhand/react", + "rules": { + "complexity": "off" + } }, "stylelint": { "extends": "@silverhand/eslint-config-react/.stylelintrc", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a6a67772e..5a1f30aa2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -443,7 +443,7 @@ importers: '@parcel/transformer-mdx': ^2.5.0 '@parcel/transformer-sass': ^2.5.0 '@silverhand/eslint-config': ^0.11.0 - '@silverhand/eslint-config-react': ^0.10.3 + '@silverhand/eslint-config-react': ^0.11.0 '@silverhand/essentials': ^1.1.6 '@silverhand/ts-config': ^0.11.0 '@silverhand/ts-config-react': ^0.11.0 @@ -496,7 +496,7 @@ importers: '@parcel/transformer-mdx': 2.5.0_qizmsa7ujgewn5fdmmvyi6cykq '@parcel/transformer-sass': 2.5.0_@parcel+core@2.5.0 '@silverhand/eslint-config': 0.11.0_hjjt7jwmhwqm7bjf55k5ihcdqq - '@silverhand/eslint-config-react': 0.10.3_oxzh5pb5bdzd47fiyp3dy75fai + '@silverhand/eslint-config-react': 0.11.0_oxzh5pb5bdzd47fiyp3dy75fai '@silverhand/essentials': 1.1.6 '@silverhand/ts-config': 0.11.0_typescript@4.6.2 '@silverhand/ts-config-react': 0.11.0_typescript@4.6.2 @@ -840,7 +840,7 @@ importers: '@parcel/transformer-sass': ^2.5.0 '@peculiar/webcrypto': ^1.3.3 '@silverhand/eslint-config': ^0.11.0 - '@silverhand/eslint-config-react': ^0.10.3 + '@silverhand/eslint-config-react': ^0.11.0 '@silverhand/essentials': ^1.1.7 '@silverhand/ts-config': ^0.11.0 '@silverhand/ts-config-react': ^0.11.0 @@ -886,7 +886,7 @@ importers: '@parcel/transformer-sass': 2.5.0_@parcel+core@2.5.0 '@peculiar/webcrypto': 1.3.3 '@silverhand/eslint-config': 0.11.0_hjjt7jwmhwqm7bjf55k5ihcdqq - '@silverhand/eslint-config-react': 0.10.3_oxzh5pb5bdzd47fiyp3dy75fai + '@silverhand/eslint-config-react': 0.11.0_oxzh5pb5bdzd47fiyp3dy75fai '@silverhand/essentials': 1.1.7 '@silverhand/ts-config': 0.11.0_typescript@4.6.2 '@silverhand/ts-config-react': 0.11.0_typescript@4.6.2 @@ -4133,6 +4133,7 @@ packages: pacote: 11.3.5 semver: 7.3.5 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -4301,6 +4302,7 @@ packages: whatwg-url: 8.7.0 yargs-parser: 20.2.4 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -4498,6 +4500,7 @@ packages: npm-registry-fetch: 9.0.0 npmlog: 4.1.2 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -4527,6 +4530,7 @@ packages: pify: 5.0.0 read-package-json: 3.0.1 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -4661,6 +4665,7 @@ packages: pacote: 11.3.5 semver: 7.3.5 transitivePeerDependencies: + - bluebird - encoding - supports-color dev: true @@ -4959,6 +4964,8 @@ packages: promise-retry: 2.0.1 semver: 7.3.5 which: 2.0.2 + transitivePeerDependencies: + - bluebird dev: true /@npmcli/installed-package-contents/1.0.7: @@ -5946,12 +5953,12 @@ packages: resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} dev: true - /@silverhand/eslint-config-react/0.10.3_oxzh5pb5bdzd47fiyp3dy75fai: - resolution: {integrity: sha512-qFDRYhYTDUgEgAxaSexgiImDosXPWB//9Pfz7pwFDIpjha9PzcsSgQnCS8/o4aTrvgK8rougZcvrJLvqLoxmKA==} + /@silverhand/eslint-config-react/0.11.0_oxzh5pb5bdzd47fiyp3dy75fai: + resolution: {integrity: sha512-E46+uLpuXxG9yyklJoi3Z+PUXGbbJq45Rv+lF1sAS+sg447w4t8cIo5etCDlAXxFRNXGdU1yXKG7TJHmzsY3TA==} peerDependencies: stylelint: '>=13.13.1' dependencies: - '@silverhand/eslint-config': 0.10.2_hjjt7jwmhwqm7bjf55k5ihcdqq + '@silverhand/eslint-config': 0.11.0_hjjt7jwmhwqm7bjf55k5ihcdqq eslint-config-xo-react: 0.25.0_4sqgcfzewo5ft67t52hgdwo42a eslint-plugin-react: 7.29.3_eslint@8.10.0 eslint-plugin-react-hooks: 4.3.0_eslint@8.10.0 @@ -5959,42 +5966,12 @@ packages: stylelint-config-xo-scss: 0.14.0_stylelint@13.13.1 transitivePeerDependencies: - eslint + - eslint-import-resolver-webpack - prettier - supports-color - typescript dev: true - /@silverhand/eslint-config/0.10.2_hjjt7jwmhwqm7bjf55k5ihcdqq: - resolution: {integrity: sha512-MT2nj7NMA2T9sWFEDPq4JP6dWrrNWWfmcD/oHbmH3LAZAZtfJQWtzPtd/yy5EDO6qn7Oo+TZqsvk/v95ah79EA==} - engines: {node: '>=14.15.0'} - peerDependencies: - eslint: ^8.1.0 - prettier: ^2.3.2 - typescript: ^4.3.5 - dependencies: - '@silverhand/eslint-plugin-fp': 2.5.0_eslint@8.10.0 - '@typescript-eslint/eslint-plugin': 5.14.0_6qcuxdb42yq5wfvodoovog6mya - '@typescript-eslint/parser': 5.14.0_pzezdwkd5bvjkx2hshexc25sxq - eslint: 8.10.0 - eslint-config-prettier: 8.5.0_eslint@8.10.0 - eslint-config-xo: 0.40.0_eslint@8.10.0 - eslint-config-xo-typescript: 0.50.0_eimrvegzairgysjagkjjwv3rli - eslint-import-resolver-typescript: 2.5.0_rnagsyfcubvpoxo2ynj23pim7u - eslint-plugin-consistent-default-export-name: 0.0.7 - eslint-plugin-eslint-comments: 3.2.0_eslint@8.10.0 - eslint-plugin-import: 2.25.4_eslint@8.10.0 - eslint-plugin-no-use-extend-native: 0.5.0 - eslint-plugin-node: 11.1.0_eslint@8.10.0 - eslint-plugin-prettier: 3.4.1_6pitu4b2tqihty6rv5qeiyb35m - eslint-plugin-promise: 6.0.0_eslint@8.10.0 - eslint-plugin-sql: 2.1.0_eslint@8.10.0 - eslint-plugin-unicorn: 39.0.0_eslint@8.10.0 - prettier: 2.5.1 - typescript: 4.6.2 - transitivePeerDependencies: - - supports-color - dev: true - /@silverhand/eslint-config/0.11.0_hjjt7jwmhwqm7bjf55k5ihcdqq: resolution: {integrity: sha512-l0I2aPf34pWBXZ5skyxY/dk9rGKIF9v0pXpbd+TLizzloEDRADTChpTCmUs6vA1PmgrpWLaa9Gr3AvqadYimvw==} engines: {node: '>=14.15.0'} @@ -6013,7 +5990,7 @@ packages: eslint-import-resolver-typescript: 2.5.0_rnagsyfcubvpoxo2ynj23pim7u eslint-plugin-consistent-default-export-name: 0.0.7 eslint-plugin-eslint-comments: 3.2.0_eslint@8.10.0 - eslint-plugin-import: 2.25.4_eslint@8.10.0 + eslint-plugin-import: 2.25.4_sidoke6kqbkbdht6nlmwbfnany eslint-plugin-no-use-extend-native: 0.5.0 eslint-plugin-node: 11.1.0_eslint@8.10.0 eslint-plugin-prettier: 3.4.1_6pitu4b2tqihty6rv5qeiyb35m @@ -6024,6 +6001,7 @@ packages: prettier: 2.5.1 typescript: 4.6.2 transitivePeerDependencies: + - eslint-import-resolver-webpack - supports-color dev: true @@ -6045,7 +6023,7 @@ packages: eslint-import-resolver-typescript: 2.5.0_rnagsyfcubvpoxo2ynj23pim7u eslint-plugin-consistent-default-export-name: 0.0.7 eslint-plugin-eslint-comments: 3.2.0_eslint@8.10.0 - eslint-plugin-import: 2.25.4_eslint@8.10.0 + eslint-plugin-import: 2.25.4_sidoke6kqbkbdht6nlmwbfnany eslint-plugin-no-use-extend-native: 0.5.0 eslint-plugin-node: 11.1.0_eslint@8.10.0 eslint-plugin-prettier: 3.4.1_6pitu4b2tqihty6rv5qeiyb35m @@ -6056,6 +6034,7 @@ packages: prettier: 2.5.1 typescript: 4.6.3 transitivePeerDependencies: + - eslint-import-resolver-webpack - supports-color dev: true @@ -6170,7 +6149,7 @@ packages: dependencies: '@babel/core': 7.16.0 postcss: 7.0.39 - postcss-syntax: 0.36.2_postcss@7.0.39 + postcss-syntax: 0.36.2_kei4jy7wdgbhc236h4oijypxom transitivePeerDependencies: - supports-color dev: true @@ -6183,7 +6162,7 @@ packages: postcss-syntax: '>=0.36.2' dependencies: postcss: 7.0.39 - postcss-syntax: 0.36.2_postcss@7.0.39 + postcss-syntax: 0.36.2_kei4jy7wdgbhc236h4oijypxom remark: 13.0.0 unist-util-find-all-after: 3.0.2 transitivePeerDependencies: @@ -7983,6 +7962,8 @@ packages: qs: 6.9.7 raw-body: 2.4.3 type-is: 1.6.18 + transitivePeerDependencies: + - supports-color dev: true /bonjour-service/1.0.11: @@ -8182,6 +8163,8 @@ packages: ssri: 8.0.1 tar: 6.1.11 unique-filename: 1.1.1 + transitivePeerDependencies: + - bluebird dev: true /cache-content-type/1.0.1: @@ -8696,6 +8679,8 @@ packages: on-headers: 1.0.2 safe-buffer: 5.1.2 vary: 1.1.2 + transitivePeerDependencies: + - supports-color dev: true /concat-map/0.0.1: @@ -9249,12 +9234,22 @@ packages: /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.0.0 dev: true /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.1.3 @@ -9473,6 +9468,8 @@ packages: dependencies: address: 1.1.2 debug: 2.6.9 + transitivePeerDependencies: + - supports-color dev: true /detect-port/1.3.0: @@ -9482,6 +9479,8 @@ packages: dependencies: address: 1.1.2 debug: 2.6.9 + transitivePeerDependencies: + - supports-color dev: true /dezalgo/1.0.3: @@ -9944,6 +9943,8 @@ packages: dependencies: debug: 3.2.7 resolve: 1.22.0 + transitivePeerDependencies: + - supports-color dev: true /eslint-import-resolver-typescript/2.5.0_rnagsyfcubvpoxo2ynj23pim7u: @@ -9955,7 +9956,7 @@ packages: dependencies: debug: 4.3.3 eslint: 8.10.0 - eslint-plugin-import: 2.25.4_eslint@8.10.0 + eslint-plugin-import: 2.25.4_sidoke6kqbkbdht6nlmwbfnany glob: 7.2.0 is-glob: 4.0.3 resolve: 1.22.0 @@ -9964,12 +9965,31 @@ packages: - supports-color dev: true - /eslint-module-utils/2.7.3: + /eslint-module-utils/2.7.3_l62aq42yiamaj3cnpuf6avthf4: resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true dependencies: + '@typescript-eslint/parser': 5.14.0_6ued5m2uqo2r7ksfjlk2bzosza debug: 3.2.7 + eslint-import-resolver-node: 0.3.6 + eslint-import-resolver-typescript: 2.5.0_rnagsyfcubvpoxo2ynj23pim7u find-up: 2.1.0 + transitivePeerDependencies: + - supports-color dev: true /eslint-plugin-consistent-default-export-name/0.0.7: @@ -10004,19 +10024,24 @@ packages: ignore: 5.2.0 dev: true - /eslint-plugin-import/2.25.4_eslint@8.10.0: + /eslint-plugin-import/2.25.4_sidoke6kqbkbdht6nlmwbfnany: resolution: {integrity: sha512-/KJBASVFxpu0xg1kIBn9AUa8hQVnszpwgE7Ld0lKAlx7Ie87yzEzCgSkekt+le/YVhiaosO4Y14GDAOc41nfxA==} engines: {node: '>=4'} peerDependencies: + '@typescript-eslint/parser': '*' eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true dependencies: + '@typescript-eslint/parser': 5.14.0_6ued5m2uqo2r7ksfjlk2bzosza array-includes: 3.1.4 array.prototype.flat: 1.2.5 debug: 2.6.9 doctrine: 2.1.0 eslint: 8.10.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.3 + eslint-module-utils: 2.7.3_l62aq42yiamaj3cnpuf6avthf4 has: 1.0.3 is-core-module: 2.8.1 is-glob: 4.0.3 @@ -10024,6 +10049,10 @@ packages: object.values: 1.1.5 resolve: 1.22.0 tsconfig-paths: 3.13.0 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color dev: true /eslint-plugin-no-use-extend-native/0.5.0: @@ -10415,6 +10444,8 @@ packages: type-is: 1.6.18 utils-merge: 1.0.1 vary: 1.1.2 + transitivePeerDependencies: + - supports-color dev: true /extend-shallow/2.0.1: @@ -10622,6 +10653,8 @@ packages: parseurl: 1.3.3 statuses: 1.5.0 unpipe: 1.0.0 + transitivePeerDependencies: + - supports-color dev: true /find-cache-dir/3.3.2: @@ -13370,6 +13403,7 @@ packages: import-local: 3.1.0 npmlog: 4.1.2 transitivePeerDependencies: + - bluebird - encoding - supports-color dev: true @@ -13404,6 +13438,7 @@ packages: npm-package-arg: 8.1.5 npm-registry-fetch: 11.0.0 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -13417,6 +13452,7 @@ packages: semver: 7.3.5 ssri: 8.0.1 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -13788,6 +13824,7 @@ packages: socks-proxy-agent: 5.0.1 ssri: 8.0.1 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -13812,6 +13849,7 @@ packages: socks-proxy-agent: 6.1.1 ssri: 8.0.1 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -14933,6 +14971,7 @@ packages: minizlib: 2.1.2 npm-package-arg: 8.1.5 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -14949,6 +14988,7 @@ packages: minizlib: 2.1.2 npm-package-arg: 8.1.5 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -15392,6 +15432,7 @@ packages: ssri: 8.0.1 tar: 6.1.11 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -15793,6 +15834,8 @@ packages: async: 2.6.3 debug: 3.2.7 mkdirp: 0.5.5 + transitivePeerDependencies: + - supports-color dev: true /postcss-calc/8.2.4_postcss@8.4.13: @@ -15882,7 +15925,7 @@ packages: dependencies: htmlparser2: 3.10.1 postcss: 7.0.39 - postcss-syntax: 0.36.2_postcss@7.0.39 + postcss-syntax: 0.36.2_kei4jy7wdgbhc236h4oijypxom dev: true /postcss-less/3.1.4: @@ -16282,12 +16325,31 @@ packages: svgo: 2.8.0 dev: true - /postcss-syntax/0.36.2_postcss@7.0.39: + /postcss-syntax/0.36.2_kei4jy7wdgbhc236h4oijypxom: resolution: {integrity: sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==} peerDependencies: postcss: '>=5.0.0' + postcss-html: '*' + postcss-jsx: '*' + postcss-less: '*' + postcss-markdown: '*' + postcss-scss: '*' + peerDependenciesMeta: + postcss-html: + optional: true + postcss-jsx: + optional: true + postcss-less: + optional: true + postcss-markdown: + optional: true + postcss-scss: + optional: true dependencies: postcss: 7.0.39 + postcss-html: 0.36.0_j55xdkkcxc32kvnyvx3y7casfm + postcss-less: 3.1.4 + postcss-scss: 2.1.1 dev: true /postcss-unique-selectors/5.1.1_postcss@8.4.13: @@ -16508,6 +16570,11 @@ packages: /promise-inflight/1.0.1: resolution: {integrity: sha1-mEcocL8igTL8vdhoEputEsPAKeM=} + peerDependencies: + bluebird: '*' + peerDependenciesMeta: + bluebird: + optional: true dev: true /promise-retry/2.0.1: @@ -16785,6 +16852,7 @@ packages: text-table: 0.2.0 transitivePeerDependencies: - eslint + - supports-color - typescript - vue-template-compiler - webpack @@ -17904,6 +17972,8 @@ packages: on-finished: 2.3.0 range-parser: 1.2.1 statuses: 1.5.0 + transitivePeerDependencies: + - supports-color dev: true /serialize-error/7.0.1: @@ -17950,6 +18020,8 @@ packages: http-errors: 1.6.3 mime-types: 2.1.35 parseurl: 1.3.3 + transitivePeerDependencies: + - supports-color dev: true /serve-static/1.14.2: @@ -17960,6 +18032,8 @@ packages: escape-html: 1.0.3 parseurl: 1.3.3 send: 0.17.2 + transitivePeerDependencies: + - supports-color dev: true /set-blocking/2.0.0: @@ -18789,7 +18863,7 @@ packages: postcss-sass: 0.4.4 postcss-scss: 2.1.1 postcss-selector-parser: 6.0.9 - postcss-syntax: 0.36.2_postcss@7.0.39 + postcss-syntax: 0.36.2_kei4jy7wdgbhc236h4oijypxom postcss-value-parser: 4.2.0 resolve-from: 5.0.0 slash: 3.0.0 @@ -18803,6 +18877,8 @@ packages: v8-compile-cache: 2.3.0 write-file-atomic: 3.0.3 transitivePeerDependencies: + - postcss-jsx + - postcss-markdown - supports-color dev: true