-
Notifications
You must be signed in to change notification settings - Fork 80
chore(deps-dev): update prettier & eslint deps #788
Conversation
Deploy preview created for Built with commit: ce90863df830cefc43dbf8ebcf6bc01fc39c6cf9 |
Deploy preview created for Built with commit: ce90863df830cefc43dbf8ebcf6bc01fc39c6cf9 |
Deploy preview created for Built with commit: ce90863df830cefc43dbf8ebcf6bc01fc39c6cf9 |
Deploy preview created for Built with commit: f1d1e8b6d6e7aeb06ca46636debfaca7ddbc6847 |
"format": "prettier --write \"**/*.{css,js,md,scss}\"", | ||
"format:diff": "prettier --check \"**/*.{css,js,md,scss}\"", | ||
"format": "prettier --write \"**/*.{css,js,ts,md,scss}\"", | ||
"format:diff": "prettier --check \"**/*.{css,js,ts,md,scss}\"", | ||
"format:staged": "prettier --write", |
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.
I have also started to format the .ts.
They were already in lint-staged, but not in the yarn format script.
@@ -235,7 +233,7 @@ | |||
"postcss": "^8.2.10", | |||
"postcss-loader": "^3.0.0", | |||
"postcss-selector-parser": "^6.0.0", | |||
"prettier": "^1.19.0", | |||
"prettier": "~2.4.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.
Now using Prettier v2!
@@ -173,14 +172,13 @@ | |||
"es6-promise": "^4.2.8", | |||
"eslint": "^7.32.0", | |||
"eslint-config-airbnb-base": "^14.2.1", | |||
"eslint-config-carbon-base": "^1.0.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.
I also had to remove eslint-config-carbon-base
because it uses outdated dependencies.
But I have migrated the small config.
Now using Prettier v2!
I have also started to format the
.ts
.They were already in
lint-staged
, but not in theyarn format
script.I also had to remove
eslint-config-carbon-base
because it uses outdated dependencies.But I have migrated the small config.