eslint-plugin-putout 12.9.2 → 12.10.0

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 CHANGED
@@ -101,6 +101,10 @@ When using 🐊`Putout` in IDE with `--fix` on save, or when you want to disable
101
101
  }
102
102
  ```
103
103
 
104
+ ### safe+align
105
+
106
+ When you want to enable ability to align spaces on empty lines, use `safe+align`.
107
+
104
108
  Disabled `ESLint` rules:
105
109
 
106
110
  - [no-useless-return](https://eslint.org/docs/rules/no-useless-return)
package/lib/index.js CHANGED
@@ -122,5 +122,12 @@ const safe = {
122
122
  module.exports.configs = {
123
123
  recommended,
124
124
  safe,
125
+ 'safe+align': {
126
+ ...safe,
127
+ rules: {
128
+ ...safe.rules,
129
+ 'putout/align-spaces': 'error',
130
+ },
131
+ },
125
132
  };
126
133
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-putout",
3
- "version": "12.9.2",
3
+ "version": "12.10.0",
4
4
  "type": "commonjs",
5
5
  "description": "eslint plugin for putout",
6
6
  "release": false,