diff --git a/package.json b/package.json index 030ce29..03d0e9e 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@types/node": "^20.0.0", "@wordpress/dependency-extraction-webpack-plugin": "^4.8.0", "@wordpress/env": "^5.9.0", + "@wordpress/eslint-plugin": "^19.0.0", "@wordpress/scripts": "^26.0.0", "eslint": "^8.0.0", "eslint-import-resolver-typescript": "^3.5.5", diff --git a/yarn.lock b/yarn.lock index a6bb85c..3a4adf9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3098,6 +3098,23 @@ core-js "^3.31.0" react "^18.2.0" +"@wordpress/babel-preset-default@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/babel-preset-default/-/babel-preset-default-8.0.0.tgz#f62fa85880ab64cd6ca2b94085dbaf09c661cf81" + integrity sha512-0/UBnS9I9gYfhMgB6wsKgvLG8oCdTLVeyqNHtlarjt0q5jVMEI1keXfVbkgxtXwg3KAr49DwLx0dc8PzU0HhAw== + dependencies: + "@babel/core" "^7.16.0" + "@babel/plugin-transform-react-jsx" "^7.16.0" + "@babel/plugin-transform-runtime" "^7.16.0" + "@babel/preset-env" "^7.16.0" + "@babel/preset-typescript" "^7.16.0" + "@babel/runtime" "^7.16.0" + "@wordpress/browserslist-config" "^6.0.0" + "@wordpress/warning" "^3.0.0" + browserslist "^4.21.10" + core-js "^3.31.0" + react "^18.3.0" + "@wordpress/base-styles@^4.43.0": version "4.43.0" resolved "https://registry.yarnpkg.com/@wordpress/base-styles/-/base-styles-4.43.0.tgz#67670cc1076d712a925a99c659bb22ea7275d6dd" @@ -3209,6 +3226,11 @@ resolved "https://registry.yarnpkg.com/@wordpress/browserslist-config/-/browserslist-config-5.35.0.tgz#60db5aa876e6b05f8f7c7067c9dc977904c4ae10" integrity sha512-hybMVNdGXvKxN1P9Vc2YBxYJqKM1wA9clsx94qjVh73Q1f47olshmwsqp0whDV0piDBReD0irJsz9jszhd8Z1A== +"@wordpress/browserslist-config@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/browserslist-config/-/browserslist-config-6.0.0.tgz#e86aa1b8492409121b2d9ce4172a57d6cd1e8251" + integrity sha512-7MGNySnaDpM+w/Wld4agavDKTOqDM1+fs5eUVmFNfkdfz8MLRukhiFhMt/iJLsmj1wEdUv1/LcDfz9uWUqvc6g== + "@wordpress/commands@^0.23.0": version "0.23.0" resolved "https://registry.yarnpkg.com/@wordpress/commands/-/commands-0.23.0.tgz#cb1d1cb0f42106968a315754600f8910f313f5c4" @@ -3512,6 +3534,29 @@ globals "^13.12.0" requireindex "^1.2.0" +"@wordpress/eslint-plugin@^19.0.0": + version "19.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/eslint-plugin/-/eslint-plugin-19.0.0.tgz#0328ddfcbf3bd1d71d94101d65c00695f1dad35f" + integrity sha512-rZMnY+YbL1xGcnwPhVoWg03e0+HmSxppeNKIF9oU7g73ujemDR/FaS8jO5yKghNyIhBnTqH9oZMsSwAoKNlDfQ== + dependencies: + "@babel/eslint-parser" "^7.16.0" + "@typescript-eslint/eslint-plugin" "^6.4.1" + "@typescript-eslint/parser" "^6.4.1" + "@wordpress/babel-preset-default" "^8.0.0" + "@wordpress/prettier-config" "^4.0.0" + cosmiconfig "^7.0.0" + eslint-config-prettier "^8.3.0" + eslint-plugin-import "^2.25.2" + eslint-plugin-jest "^27.2.3" + eslint-plugin-jsdoc "^46.4.6" + eslint-plugin-jsx-a11y "^6.5.1" + eslint-plugin-playwright "^0.15.3" + eslint-plugin-prettier "^5.0.0" + eslint-plugin-react "^7.27.0" + eslint-plugin-react-hooks "^4.3.0" + globals "^13.12.0" + requireindex "^1.2.0" + "@wordpress/hooks@^3.24.0", "@wordpress/hooks@^3.49.0", "@wordpress/hooks@^3.52.0": version "3.52.0" resolved "https://registry.yarnpkg.com/@wordpress/hooks/-/hooks-3.52.0.tgz#cc8173c6976d57cc1a4ce58ea703e0d3a2aee18f" @@ -3645,6 +3690,11 @@ resolved "https://registry.yarnpkg.com/@wordpress/prettier-config/-/prettier-config-3.9.0.tgz#99a79154840244725b21a891052d0cf942f5d94a" integrity sha512-CUCAZAAFDYgE6JG6x8U/kJ94tMyKkeRyNNcbPHK/R4oR+9T1bTbT2rWVQ9VFC2M6yNEP7uwZU9ufdYcSn5bq7g== +"@wordpress/prettier-config@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/prettier-config/-/prettier-config-4.0.0.tgz#7b9755b98b15ec40678c207656b6fed3fd72f997" + integrity sha512-8myxMYm23MH/DMudwIIDbZby3GlOAO4vBk3j2tH+U3Ig6bXgt2M/cp4OLl8/EP8I3BLw8CdT13KXcdU7RE5nJw== + "@wordpress/primitives@^3.22.0", "@wordpress/primitives@^3.50.0": version "3.50.0" resolved "https://registry.yarnpkg.com/@wordpress/primitives/-/primitives-3.50.0.tgz#da2c2e07d3beded0d5e22136183290c6692fc088" @@ -3819,6 +3869,11 @@ resolved "https://registry.yarnpkg.com/@wordpress/warning/-/warning-2.52.0.tgz#857f6db8d45ade05c23510464b451258f999e22e" integrity sha512-dmPSi6h/DeAwSOeD3NQKeFnileyNNhI4QecIiRZ79Tk1QIcz90wOQR7BAbZcpzJdN6Q30bc98Vfhtj8w0xpfOQ== +"@wordpress/warning@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/warning/-/warning-3.0.0.tgz#a9d13a561eeef6b5c4a464493bbdcfec2cbda282" + integrity sha512-vZ7SH4lwnwglsZC+5dmrMJS/9lZXn7BvADC+ZHzrRM0s6Ufumi1RdG0QJr/HJuTRY9fX5bbPNdUQVyrv+weSEg== + "@wordpress/wordcount@^3.52.0": version "3.52.0" resolved "https://registry.yarnpkg.com/@wordpress/wordcount/-/wordcount-3.52.0.tgz#1493422abba748e4314ef523402acab78e779aae" @@ -10167,7 +10222,7 @@ react-style-singleton@^2.2.1: invariant "^2.2.4" tslib "^2.0.0" -react@^18.0.0: +react@^18.0.0, react@^18.3.0: version "18.3.1" resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==