From 658b045be9f049ad226232c4522509fb63fac3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cruz?= Date: Thu, 19 Mar 2020 20:25:33 +0000 Subject: [PATCH] chore: update to new eslint-config --- .eslintrc.json | 12 +- babel.config.js | 2 + docusaurus/.eslintrc.json | 27 +++ docusaurus/docusaurus.config.js | 2 + docusaurus/sidebars.js | 2 + jest.config.js | 2 + next.config.js | 2 + package-lock.json | 299 +++++++++++++++++++++++++------- package.json | 8 +- postcss.config.js | 2 + 10 files changed, 292 insertions(+), 66 deletions(-) create mode 100644 docusaurus/.eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json index 4e7fb8d9..a3c2cc54 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,8 +1,14 @@ { "root": true, + "env": { + "browser": true, + "node": true + }, "extends": [ - "@moxy/eslint-config-isomorphic", - "@moxy/eslint-config-jest", - "@moxy/eslint-config-react" + "@moxy/eslint-config-base/esm", + "@moxy/eslint-config-babel", + "@moxy/eslint-config-react", + "@moxy/eslint-config-react-web-a11y", + "@moxy/eslint-config-jest" ] } diff --git a/babel.config.js b/babel.config.js index 7f2bb0bc..5d84ec69 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = (api) => { api.cache(true); diff --git a/docusaurus/.eslintrc.json b/docusaurus/.eslintrc.json new file mode 100644 index 00000000..6d541fef --- /dev/null +++ b/docusaurus/.eslintrc.json @@ -0,0 +1,27 @@ +{ + "root": true, + "overrides": [ + { + "files": "./**/*.js", + "excludedFiles": "./sidebars.js", + "env": { + "browser": true + }, + "extends": [ + "@moxy/eslint-config-base/esm", + "@moxy/eslint-config-babel", + "@moxy/eslint-config-react", + "@moxy/eslint-config-jest" + ] + }, + { + "files": "./sidebars.js", + "env": { + "node": true + }, + "extends": [ + "@moxy/eslint-config-base/cjs" + ] + } + ] +} diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index dbac2402..d8d5d505 100755 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = { title: 'Next.js with MOXY', tagline: 'MOXY\'s boilerplate to create Next.js based applications', diff --git a/docusaurus/sidebars.js b/docusaurus/sidebars.js index e285ed7d..93bd6305 100644 --- a/docusaurus/sidebars.js +++ b/docusaurus/sidebars.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = { docs: [ { diff --git a/jest.config.js b/jest.config.js index 2fe4eaae..21dc43d4 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,3 +1,5 @@ +'use strict'; + const { compose, baseConfig, withWeb, withRTL } = require('@moxy/jest-config'); module.exports = compose([baseConfig, withWeb, withRTL]); diff --git a/next.config.js b/next.config.js index 7e69468a..98944909 100644 --- a/next.config.js +++ b/next.config.js @@ -1,3 +1,5 @@ +'use strict'; + require('dotenv').config(); const { withRasterImages, withPlayback, withSVG, withFonts, with3D } = require('@moxy/next-common-files'); diff --git a/package-lock.json b/package-lock.json index f9006fe6..e72e3ea3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2379,66 +2379,54 @@ } } }, - "@moxy/eslint-config-browser": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@moxy/eslint-config-browser/-/eslint-config-browser-1.0.0.tgz", - "integrity": "sha512-U2xhZOEKg6WMcEJ8V9brUZOXd9gl7iWe/Q9BXr0rdgUha/g6M/4SpueuSAzgU4U2ZbtKLPXTKhNDvqCQWPrbdQ==", - "dev": true, - "requires": { - "@moxy/eslint-config-core": "^1.0.0", - "babel-eslint": "^10.0.3", - "eslint-plugin-babel": "^5.3.0", - "eslint-plugin-prefer-import": "0.0.1" - } - }, - "@moxy/eslint-config-core": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@moxy/eslint-config-core/-/eslint-config-core-1.0.0.tgz", - "integrity": "sha512-70K3F3bJ6mDTa5iADyfY0tbl8kAHf6DnKObFm9C/pO4i0lfKgTq0Uue/BFRtLRTF8HQlAABav0wFh3qrIRfxvQ==", + "@moxy/eslint-config-babel": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@moxy/eslint-config-babel/-/eslint-config-babel-11.0.2.tgz", + "integrity": "sha512-fG1mD0rwG4kPFUQWBM8tEwdAHPtWoiZ8re1cyt0WfMf/bJ56jMre0EPQBQLCK1TCrXDALtSCnGWzSFxRfwnTgA==", "dev": true, "requires": { - "eslint-plugin-jsdoc": "^20.3.1", - "eslint-plugin-prefer-import": "0.0.1" + "babel-eslint": "^10.1.0", + "eslint-plugin-babel": "^5.3.0" } }, - "@moxy/eslint-config-isomorphic": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@moxy/eslint-config-isomorphic/-/eslint-config-isomorphic-1.0.0.tgz", - "integrity": "sha512-en6EBmZJLchGcpP6b/b4PIZc8Q0vYVWOrWtXbddYHzlCkuAcrZLweWNL3Xp60hn9qwyawPBsIkgaWufmy0h/6w==", + "@moxy/eslint-config-base": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@moxy/eslint-config-base/-/eslint-config-base-11.0.2.tgz", + "integrity": "sha512-Bl8hYGTjAxcfd46MsxG4vlKu39cNJsSOu057fWrh7gKn4FmU7z4KoQ6FoFQ04O26akR/3i9m7jcz9ImWHQGutQ==", "dev": true, "requires": { - "@moxy/eslint-config-browser": "^1.0.0", - "@moxy/eslint-config-node": "^1.0.0" + "eslint-plugin-import": "^2.20.1", + "eslint-plugin-jsdoc": "^20.3.1" } }, "@moxy/eslint-config-jest": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@moxy/eslint-config-jest/-/eslint-config-jest-1.0.0.tgz", - "integrity": "sha512-3/TpKu+zTq004tvUa6lsyTJme1izqx0VYfMIOxSGgBU/pUgoLt/UBfbZvC6B6yvyZN/4CCe7D+vEDaRVCoMzJA==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@moxy/eslint-config-jest/-/eslint-config-jest-11.0.2.tgz", + "integrity": "sha512-9KWKGDvE2wdkUtbNS3UdN0AgGuPEu1+ZxzgctUO/ZOZRCX5iNDbQnVaCve4K5zUywvT3rCOWjT+/ymPU/SsDcA==", "dev": true, "requires": { - "@moxy/eslint-config-core": "^1.0.0", + "@moxy/eslint-config-base": "^11.0.2", "eslint-plugin-jest": "^23.0.4" } }, - "@moxy/eslint-config-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@moxy/eslint-config-node/-/eslint-config-node-1.0.0.tgz", - "integrity": "sha512-JSIDcC+67/4pV0DnlR5bCHm/UeU24SRAhUuUNr9e+2qvaz6nVOmirwhaBluDia/L05wXtVtfpf16p3ILsPM5rw==", + "@moxy/eslint-config-react": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@moxy/eslint-config-react/-/eslint-config-react-11.0.2.tgz", + "integrity": "sha512-FwTlBeM9E25USnpd8H/TrIoObmjw8SJjS2BlGJuUjflGzb6LQEtTeawkEMA/WII9yln2jxhinMKPsYHwGxxlAg==", "dev": true, "requires": { - "@moxy/eslint-config-core": "^1.0.0" + "@moxy/eslint-config-base": "^11.0.2", + "eslint-plugin-react": "^7.16.0", + "eslint-plugin-react-hooks": "^2.3.0" } }, - "@moxy/eslint-config-react": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@moxy/eslint-config-react/-/eslint-config-react-1.0.0.tgz", - "integrity": "sha512-Hg5jLXh8tHjL4xj+0CfUNb5Lqp2OKTwPS4NoWvfmjjCK+ACgC2ptKo6hOlu7flNRiQvq6/yVt5hv8jRYFrCDPA==", + "@moxy/eslint-config-react-web-a11y": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@moxy/eslint-config-react-web-a11y/-/eslint-config-react-web-a11y-11.0.2.tgz", + "integrity": "sha512-HkE8OG2ofnQFbd0if143ow9KxVviy0qCNanNuxrxs6TWj8nX8nLe6+FKfzGrPewYfMznnAk9xgODFlG01WNw9Q==", "dev": true, "requires": { - "@moxy/eslint-config-core": "^1.0.0", - "eslint-plugin-react": "^7.16.0", - "eslint-plugin-react-hooks": "^2.3.0" + "eslint-plugin-jsx-a11y": "^6.2.3" } }, "@moxy/jest-config": { @@ -3039,13 +3027,13 @@ "dev": true }, "@typescript-eslint/experimental-utils": { - "version": "2.23.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.23.0.tgz", - "integrity": "sha512-OswxY59RcXH3NNPmq+4Kis2CYZPurRU6mG5xPcn24CjFyfdVli5mySwZz/g/xDbJXgDsYqNGq7enV0IziWGXVQ==", + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.24.0.tgz", + "integrity": "sha512-DXrwuXTdVh3ycNCMYmWhUzn/gfqu9N0VzNnahjiDJvcyhfBy4gb59ncVZVxdp5XzBC77dCncu0daQgOkbvPwBw==", "dev": true, "requires": { "@types/json-schema": "^7.0.3", - "@typescript-eslint/typescript-estree": "2.23.0", + "@typescript-eslint/typescript-estree": "2.24.0", "eslint-scope": "^5.0.0" }, "dependencies": { @@ -3062,9 +3050,9 @@ } }, "@typescript-eslint/typescript-estree": { - "version": "2.23.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.23.0.tgz", - "integrity": "sha512-pmf7IlmvXdlEXvE/JWNNJpEvwBV59wtJqA8MLAxMKLXNKVRC3HZBXR/SlZLPWTCcwOSg9IM7GeRSV3SIerGVqw==", + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.24.0.tgz", + "integrity": "sha512-RJ0yMe5owMSix55qX7Mi9V6z2FDuuDpN6eR5fzRJrp+8in9UF41IGNQHbg5aMK4/PjVaEQksLvz0IA8n+Mr/FA==", "dev": true, "requires": { "debug": "^4.1.1", @@ -3608,6 +3596,12 @@ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.2.tgz", "integrity": "sha512-uWMHxJxtfj/1oZClOxDEV1sQ1HCDkA4MG8Gr69KKeBjEVH0R84WlejZ0y2DcwyBlpAEMltmVYkVgqfLFb2oyiA==" }, + "ast-types-flow": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz", + "integrity": "sha1-9wtzXGvKGlycItmCw+Oef+ujva0=", + "dev": true + }, "astral-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", @@ -3736,6 +3730,12 @@ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz", "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==" }, + "axobject-query": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.1.2.tgz", + "integrity": "sha512-ICt34ZmrVt8UQnvPl6TVyDTkmhXmAyAT4Jh5ugfGUX4MOrZ+U/ZY6/sdylRw3qGNr9Ub5AJsaHeDMzNLehRdOQ==", + "dev": true + }, "babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", @@ -5963,6 +5963,12 @@ "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=" }, + "contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", + "dev": true + }, "content-type": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", @@ -7372,6 +7378,12 @@ "type": "^1.0.1" } }, + "damerau-levenshtein": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz", + "integrity": "sha512-JVrozIeElnj3QzfUIt8tB8YMluBJom4Vw9qTPpjGYQ9fYlB3D/rb6OordUxf3xeFB35LKWs0xqcO5U6ySvBtug==", + "dev": true + }, "dargs": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz", @@ -7676,12 +7688,21 @@ "dev": true }, "doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", "dev": true, "requires": { - "esutils": "^2.0.2" + "esutils": "^2.0.2", + "isarray": "^1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } } }, "dom-accessibility-api": { @@ -8419,6 +8440,60 @@ } } }, + "eslint-import-resolver-node": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz", + "integrity": "sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "resolve": "^1.13.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "eslint-module-utils": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.2.tgz", + "integrity": "sha512-LGScZ/JSlqGKiT8OC+cYRxseMjyqt6QO54nl281CK93unD89ijSeRV6An8Ci/2nvWVKe8K/Tqdm75RQoIOCr+Q==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "pkg-dir": "^2.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, "eslint-plugin-babel": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/eslint-plugin-babel/-/eslint-plugin-babel-5.3.0.tgz", @@ -8428,6 +8503,43 @@ "eslint-rule-composer": "^0.3.0" } }, + "eslint-plugin-import": { + "version": "2.20.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.1.tgz", + "integrity": "sha512-qQHgFOTjguR+LnYRoToeZWT62XM55MBVXObHM6SKFd1VzDcX/vqT1kAz8ssqigh5eMj8qXcRoXXGZpPP6RfdCw==", + "dev": true, + "requires": { + "array-includes": "^3.0.3", + "array.prototype.flat": "^1.2.1", + "contains-path": "^0.1.0", + "debug": "^2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "^0.3.2", + "eslint-module-utils": "^2.4.1", + "has": "^1.0.3", + "minimatch": "^3.0.4", + "object.values": "^1.1.0", + "read-pkg-up": "^2.0.0", + "resolve": "^1.12.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, "eslint-plugin-jest": { "version": "23.8.2", "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.8.2.tgz", @@ -8461,11 +8573,40 @@ } } }, - "eslint-plugin-prefer-import": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-prefer-import/-/eslint-plugin-prefer-import-0.0.1.tgz", - "integrity": "sha1-DfThF9opEJ71YdNV7Bn0HfCtpvY=", - "dev": true + "eslint-plugin-jsx-a11y": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz", + "integrity": "sha512-CawzfGt9w83tyuVekn0GDPU9ytYtxyxyFZ3aSWROmnRRFQFT2BiPJd7jvRdzNDi6oLWaS2asMeYSNMjWTV4eNg==", + "dev": true, + "requires": { + "@babel/runtime": "^7.4.5", + "aria-query": "^3.0.0", + "array-includes": "^3.0.3", + "ast-types-flow": "^0.0.7", + "axobject-query": "^2.0.2", + "damerau-levenshtein": "^1.0.4", + "emoji-regex": "^7.0.2", + "has": "^1.0.3", + "jsx-ast-utils": "^2.2.1" + }, + "dependencies": { + "aria-query": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-3.0.0.tgz", + "integrity": "sha1-ZbP8wcoRVajJrmTW7uKX8V1RM8w=", + "dev": true, + "requires": { + "ast-types-flow": "0.0.7", + "commander": "^2.11.0" + } + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + } + } }, "eslint-plugin-react": { "version": "7.19.0", @@ -8487,6 +8628,15 @@ "xregexp": "^4.3.0" }, "dependencies": { + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -8496,9 +8646,9 @@ } }, "eslint-plugin-react-hooks": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.5.0.tgz", - "integrity": "sha512-bzvdX47Jx847bgAYf0FPX3u1oxU+mKU8tqrpj4UX9A96SbAmj/HVEefEy6rJUog5u8QIlOPTKZcBpGn5kkKfAQ==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.5.1.tgz", + "integrity": "sha512-Y2c4b55R+6ZzwtTppKwSmK/Kar8AdLiC2f9NADCuxbcTgPPg41Gyqa6b9GppgXSvCtkRw43ZE86CT5sejKC6/g==", "dev": true }, "eslint-rule-composer": { @@ -9416,7 +9566,10 @@ "full-icu": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/full-icu/-/full-icu-1.3.1.tgz", - "integrity": "sha512-VMtK//85QJomhk3cXOCksNwOYaw1KWnYTS37GYGgyf7A3ajdBoPGhaJuJWAH2S2kq8GZeXkdKn+3Mfmgy11cVw==" + "integrity": "sha512-VMtK//85QJomhk3cXOCksNwOYaw1KWnYTS37GYGgyf7A3ajdBoPGhaJuJWAH2S2kq8GZeXkdKn+3Mfmgy11cVw==", + "requires": { + "icu4c-data": "^0.64.2" + } }, "function-bind": { "version": "1.1.1", @@ -10387,6 +10540,11 @@ } } }, + "icu4c-data": { + "version": "0.64.2", + "resolved": "https://registry.npmjs.org/icu4c-data/-/icu4c-data-0.64.2.tgz", + "integrity": "sha512-BPuTfkRTkplmK1pNrqgyOLJ0qB2UcQ12EotVLwiWh4ErtZR1tEYoRZk/LBLmlDfK5v574/lQYLB4jT9vApBiBQ==" + }, "identity-obj-proxy": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz", @@ -19785,6 +19943,27 @@ "path-type": "^2.0.0" } }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + }, + "dependencies": { + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + } + } + }, "readable-stream": { "version": "1.1.14", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", diff --git a/package.json b/package.json index 968c3947..b42b4de2 100644 --- a/package.json +++ b/package.json @@ -55,9 +55,11 @@ "devDependencies": { "@commitlint/config-conventional": "^8.0.0", "@moxy/babel-preset": "^3.2.5", - "@moxy/eslint-config-isomorphic": "^1.0.0", - "@moxy/eslint-config-jest": "^1.0.0", - "@moxy/eslint-config-react": "^1.0.0", + "@moxy/eslint-config-base": "^11.0.2", + "@moxy/eslint-config-babel": "^11.0.2", + "@moxy/eslint-config-jest": "^11.0.2", + "@moxy/eslint-config-react": "^11.0.2", + "@moxy/eslint-config-react-web-a11y": "^11.0.2", "@moxy/jest-config": "^2.0.2", "@moxy/postcss-preset": "^4.4.2", "@moxy/stylelint-config": "^8.1.0", diff --git a/postcss.config.js b/postcss.config.js index 92d1d0da..f3589194 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = require('@moxy/postcss-preset')({ browsers: require('./package.json').browserslist, url: [