@amedia/prettier-config-base
Advanced tools
Comparing version 0.0.0-20240206173406 to 0.0.0-flatconf-20241107121126
# @amedia/prettier-config | ||
## 0.0.0-20240206173406 | ||
## 0.0.0-flatconf-20241107121126 | ||
### Major Changes | ||
- a4e7dd9: break out eslint-config-prettier to its own package | ||
- 5115e1f: move to esm configuration for prettier | ||
- b75c21c: configuration overhaul | ||
this migrates all configuration to ESM where applicable, this causes | ||
breaking changes for configuration files. | ||
there are no cli changes. | ||
E.g. new eslint configuration file is: | ||
eslint.config.js | ||
And looks like: | ||
``` | ||
import eslintConfig from '@amedia/eslint-config'; | ||
export default eslintConfig(); | ||
``` | ||
An object can be passed to `eslintConfig()` to enable or disable project | ||
configuration. | ||
- cc0bb37: break out eslint-config-prettier to its own package | ||
- c758e8f: move to esm configuration for prettier | ||
Prettier 3.x has support for ESM configuration, and at Amedia we have | ||
@@ -22,3 +44,3 @@ standardised on using ESM. This change aligns Prettier with our | ||
- 73ba203: add recommended eslint config for eslintrc | ||
- eee534f: add recommended eslint config for eslintrc | ||
@@ -25,0 +47,0 @@ ## 1.0.2 |
{ | ||
"name": "@amedia/prettier-config-base", | ||
"version": "0.0.0-20240206173406", | ||
"version": "0.0.0-flatconf-20241107121126", | ||
"description": "Base Prettier config for Amedia", | ||
@@ -5,0 +5,0 @@ "type": "module", |
7504