Skip to content
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

DX: Check prettier by default linter, fix code by pre-commit hook, fix release files #195

Merged
merged 4 commits into from
Nov 27, 2023

Conversation

zoobestik
Copy link
Contributor

Improvements:

  • Check prettier by default linter - it wasn't
  • fix code by pre-commit hook, if it's possible
  • fix release files - delete dist/REMOVEME.js

@@ -6,7 +6,7 @@ module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now, it works like that.

@@ -77,9 +81,10 @@
"release:ci": "rm -rf dist && npm run build:all && $NPM_TOKEN=%env.NPM_TOKEN% npm publish",
"start": "webpack-dev-server --port 9002",
"lint": "eslint . --ext .ts",
"prettier": "prettier --write .",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced by fix

@@ -0,0 +1 @@
18
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lint-staged requirement:

[email protected]: The engine "node" is incompatible with this module. Expected version ">=18.12.0". Got "16.20.2"

@zoobestik zoobestik merged commit f1bc675 into master Nov 27, 2023
2 checks passed
@zoobestik zoobestik deleted the dx-improve branch November 27, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants