eslint-plugin-putout 16.2.0 → 16.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/lib/{flat → config}/index.js +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -165,13 +165,15 @@ When you want to enable ability to align spaces on empty lines, while have all b
|
|
|
165
165
|
The time is came for a [FlatConfig](https://eslint.org/blog/2022/08/new-config-system-part-2/). To use it with `eslint-plugin-putout` add to `eslint.config.js`:
|
|
166
166
|
|
|
167
167
|
```js
|
|
168
|
-
const
|
|
168
|
+
const {recommended} = require('eslint-plugin-putout/config');
|
|
169
169
|
module.exports = [
|
|
170
|
-
...
|
|
170
|
+
...recommended, {
|
|
171
171
|
},
|
|
172
172
|
];
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
+
`safe` and `safeAlign` supported as well.
|
|
176
|
+
|
|
175
177
|
## License
|
|
176
178
|
|
|
177
179
|
MIT
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-putout",
|
|
3
|
-
"version": "16.2.
|
|
3
|
+
"version": "16.2.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "ESLint plugin for 🐊Putout",
|
|
6
6
|
"release": false,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
".": "./lib/index.js",
|
|
16
|
-
"./
|
|
16
|
+
"./config": "./lib/config/index.js"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"putout",
|