eslint-config-nodejs-pmb 0.3.7 → 0.3.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/rules.js +8 -0
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  { "name": "eslint-config-nodejs-pmb",
2
- "version": "0.3.7",
2
+ "version": "0.3.8",
3
3
  "description": "My favorite eslint rules",
4
4
  "keywords": [],
5
5
 
package/rules.js CHANGED
@@ -7,6 +7,13 @@ const configDeps = [
7
7
  ];
8
8
  const devDepPatternsGen = require('./devDepPatterns.js');
9
9
 
10
+ const ignorePatterns = [
11
+ '/build/output/',
12
+ '/dist.*',
13
+ '/dist/',
14
+ 'tmp.*',
15
+ ];
16
+
10
17
  function uniq(a) { return Array.from(new Set(a)).sort(); }
11
18
 
12
19
  const jsFextsNoDot = ['js', 'mjs'];
@@ -105,6 +112,7 @@ const config = {
105
112
  'plugin:n/recommended',
106
113
  ],
107
114
 
115
+ ignorePatterns,
108
116
  overrides,
109
117
 
110
118
  parser: require.resolve('@babel/eslint-parser'),