* Implement cosmiconfig
* Add resolveOptions API and extname support
* Add --resolve-config and --config, rename resolveOptions to resolveConfig
* Move color to top-level CLI options
* Fix unknown param warning
* Change from {} to null when no config is found
* Change override API to emulate eslint
* Add test for eslint-style overrides
* Delete overrides from resolveConfig
16 lines
209 B
JSON
16 lines
209 B
JSON
{
|
|
"name": "my-package",
|
|
"version": "9000",
|
|
"prettier": {
|
|
"tabWidth": 3,
|
|
"overrides": [
|
|
{
|
|
"files": "*.ts",
|
|
"options": {
|
|
"tabWidth": 5
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|