putout v22.4.0
Added support of Environment Variable PUTOUT_CONFIG_FILE
Just landed 🐊Putout v22.4.0 with ability to override default config with help of PUTOUT_CONFIG_FILE env variable (in the similar way as it works with ESLINT_CONFIG_FILE):
PUTOUT_CONFIG_FILE=.putout-off.json putout . --no-config
With .putout-off.json:
{
"formatter": "progress-bar",
"rules": {
"remove-unused-variables": "on"
},
"processors": [
"javascript",
"json",
"markdown",
"ignore",
"yaml",
"css"
],
"ignore": [
"**/node_modules",
],
"plugins": [
"remove-unused-variables"
]
}It runs one rule remove-unused-variables. So you can add any rules you want :).
First class support of TypeScript in ESLint plugin
eslint-plugin-putout v12.0.0 has better support of TypeScript because it uses @typescript-eslint and a lot of it's rules to format TypeScript files 🎉 .
🔥 feature
- (putout) add env variable
PUTOUT_CONFIG_FILE - (
eslint-plugin-putout) ts: add extension rules - (
eslint-plugin-putout) ts: enable @typescript-eslint/type-annotation-spacing - (
eslint-plugin-putout) safe: add remove-useless-arguments - (
eslint-plugin-putout) tape-remove-newline-before-t-end: add support of case when no assertions found before t.end() - (
eslint-plugin-putout) ts: disable: ban-types, no-explicit-any, no-empty-function - (package) eslint-plugin-putout v12.0.0
- (
eslint-plugin-putout) drop support of putout < 22 - (
eslint-plugin-putout) add first class support of typescript - (
eslint-plugin-putout) improve support of add-newline-{before,after}-function-call - (
@putout/plugin-remove-empty-pattern) add support of nestedArrayPattern