Files
test-repo/tests_integration/cli/config/package/package.json
T
Lucas Azzola dcccfed366 Implement cosmiconfig for workspace configuration (#2434)
* 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
2017-07-10 22:26:36 +10:00

16 lines
209 B
JSON

{
"name": "my-package",
"version": "9000",
"prettier": {
"tabWidth": 3,
"overrides": [
{
"files": "*.ts",
"options": {
"tabWidth": 5
}
}
]
}
}