eslint-plugin-putout 15.0.0 → 15.1.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.
|
@@ -7,12 +7,18 @@ Part of [**eslint-plugin-putout**](https://github.com/coderaiser/putout/tree/mas
|
|
|
7
7
|
## ❌ Example of incorrect code
|
|
8
8
|
|
|
9
9
|
```ts
|
|
10
|
-
const user = {
|
|
10
|
+
const user = {
|
|
11
|
+
name,
|
|
12
|
+
};
|
|
11
13
|
|
|
12
|
-
module.exports = {
|
|
14
|
+
module.exports = {
|
|
15
|
+
lint: 'putout lint',
|
|
16
|
+
};
|
|
13
17
|
|
|
14
18
|
type User = {name: string};
|
|
15
|
-
interface Place {
|
|
19
|
+
interface Place {
|
|
20
|
+
message: string
|
|
21
|
+
}
|
|
16
22
|
```
|
|
17
23
|
|
|
18
24
|
## ✅ Example of correct code
|