eslint-plugin-putout 17.1.0 β†’ 17.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 CHANGED
@@ -132,7 +132,7 @@ Disabled **ESLint** rules:
132
132
 
133
133
  Disabled 🐊**Putout** rules:
134
134
 
135
- - ❌ [`apply-termplate-literals`](https://github.com/coderaiser/putout/tree/v29.0.0/packages/plugin-remove-empty#readme);
135
+ - ❌ [`apply-template-literals`](https://github.com/coderaiser/putout/tree/v29.0.0/packages/plugin-remove-empty#readme);
136
136
  - ❌ [`remove-empty`](https://github.com/coderaiser/putout/tree/v29.0.0/packages/plugin-remove-empty#readme);
137
137
  - ❌ [`nodejs/remove-process-exit`](https://github.com/coderaiser/putout/tree/v29.0.0/packages/plugin-nodejs#remove-process-exit#readme);
138
138
  - ❌ [`remove-unused-variables`](https://github.com/coderaiser/putout/tree/v29.0.0/packages/plugin-remove-unused-variables#readme);
@@ -22,7 +22,6 @@ When you want to evaluate expressions `source` of `ImportDeclaration`:
22
22
 
23
23
  ```js
24
24
  import {readFile} from '__putout_evaluate: `./` + basename(__filename).replace(`.spec.js`, `.js`)';
25
-
26
25
  ```
27
26
 
28
27
  ## βœ… Example of correct code
package/lib/json.js CHANGED
@@ -9,7 +9,7 @@ module.exports = [{
9
9
  'comma-spacing': 'off',
10
10
  'function-paren-newline': 'off',
11
11
  'no-undef': 'off',
12
- 'eol-last': 'off',
12
+ 'eol-last': ['error', 'never'],
13
13
  'no-multi-spaces': 'off',
14
14
  },
15
15
  }, {
package/lib/markdown.js CHANGED
@@ -8,7 +8,7 @@ const {jsx} = require('./jsx');
8
8
  const commonRules = {
9
9
  'no-undef': 'off',
10
10
  'no-empty': 'off',
11
- 'eol-last': 'off',
11
+ 'eol-last': ['error', 'never'],
12
12
  'no-unreachable': 'off',
13
13
  'no-constant-condition': 'off',
14
14
  'n/no-extraneous-require': 'off',
@@ -15,7 +15,6 @@ import {
15
15
  const {
16
16
  username,
17
17
  } = user;
18
-
19
18
  ```
20
19
 
21
20
  ## βœ… Example of correct code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-putout",
3
- "version": "17.1.0",
3
+ "version": "17.2.1",
4
4
  "type": "commonjs",
5
5
  "description": "ESLint plugin for 🐊Putout",
6
6
  "release": false,