@putout/plugin-gitignore 7.0.0 → 7.0.2

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
@@ -21,7 +21,9 @@ By default, all files enabled, if you want disable some of them use `dismiss` pr
21
21
  "gitignore": ["on", {
22
22
  "dismiss": [
23
23
  "*.swp",
24
- "coverage"
24
+ "coverage",
25
+ "*.lock",
26
+ "*.log"
25
27
  ]
26
28
  }]
27
29
  }
package/lib/gitignore.js CHANGED
@@ -3,15 +3,16 @@ import {operator} from 'putout';
3
3
  const {ignore} = operator;
4
4
 
5
5
  export const {
6
- match,
7
- replace,
8
6
  report,
7
+ fix,
8
+ traverse,
9
9
  } = ignore({
10
10
  name: '.gitignore',
11
11
  list: [
12
12
  '.idea',
13
13
  '*.swp',
14
- 'yarn-error.log',
14
+ '*.log',
15
+ '*.lock',
15
16
  'coverage',
16
17
  ],
17
18
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-gitignore",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps with .gitignore",