Skip to content

Commit

Permalink
fix: allow eslint warnings in the sitemap addon
Browse files Browse the repository at this point in the history
  • Loading branch information
boazpoolman committed Nov 17, 2024
1 parent 937eed6 commit 9e05f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/addons/sitemap/admin/components/Info/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Info = () => {
<Button
onClick={() => {
document.getElementById('tabs-2-tab').click();
setTimeout(() => (document.querySelector('input[name="hostname"]') as HTMLInputElement).focus(), 0);
setTimeout(() => (document.querySelector('input[name="hostname"]')).focus(), 0);
}}
variant="secondary"
style={{ marginTop: '15px' }}
Expand Down
2 changes: 1 addition & 1 deletion packages/addons/sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"watch": "../../../node_modules/.bin/pack-up watch",
"watch:link": "../../../node_modules/.bin/strapi-plugin watch:link",
"develop:copy-files": "copyfiles -u 1 xsl/**/* ../../../playground/src/plugins/webtools-addon-sitemap/xsl/",
"eslint": "../../../node_modules/.bin/eslint --max-warnings=0 './**/*.{js,jsx,ts,tsx}'",
"eslint": "../../../node_modules/.bin/eslint './**/*.{js,jsx,ts,tsx}'",
"eslint:fix": "../../../node_modules/.bin/eslint --fix './**/*.{js,jsx,ts,tsx}'"
},
"peerDependencies": {
Expand Down

0 comments on commit 9e05f3f

Please sign in to comment.