-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cancel zoom refactoring #1
Conversation
.eslintrc.json
Outdated
"promise" | ||
], | ||
"rules": { | ||
"react/jsx-closing-bracket-location": "off", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
У тебя же онли джиес. Правила для jsx тут вообще лишние.
.eslintrc.json
Outdated
}, | ||
"extends": [ | ||
"umbrellio", | ||
"plugin:promise/recommended" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А у тебя есть промисы?
@@ -3,6 +3,7 @@ | |||
"version": "1.0.0", | |||
"description": "Cancelling auto zoom on mobile devices", | |||
"main": "cancelAutoZoomInput.js", | |||
"prepublishOnly": "yarn build", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А где сам билд?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
И запуск еслинта
package.json
Outdated
"eslint-config-umbrellio": "^5.0.1" | ||
}, | ||
"dependencies": { | ||
"eslint": "^8.57.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Можно разобраться и сделать джобу на линт
rollup.config.mjs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не хватает пустой строчки в конце
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prefer-object-spread": "^1.2.1", | ||
"eslint-plugin-promise": "^6.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это точно нужно?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а линтер ругался если я пробовал без этого запускать
.github/workflows/ci-deploy.yml
Outdated
@@ -3,15 +3,26 @@ name: deploy | |||
on: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не, это у тебя джоба для паблиша во время релиза. А тебе нужно отдельная джоба для линта, которая будет запускаться на ПР и коммитах. Это отдельно нужно делать в отдельном файле я б даже сделал
У тебя падает джоба из-за несовместимости нод версии |
4a2b31a
to
4284b55
Compare
No description provided.