eslint-config-webpack 4.8.0 → 4.8.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.
Files changed (2) hide show
  1. package/configs/node.js +3 -5
  2. package/package.json +1 -1
package/configs/node.js CHANGED
@@ -277,15 +277,13 @@ async function getDirtyConfig() {
277
277
 
278
278
  const dirtyConfig = await getDirtyConfig();
279
279
 
280
- const jsExtensions = isTypescriptInstalled()
281
- ? ["**/*.{js,jsx,ts,tsx}"]
282
- : ["**/*.{js,jsx}"];
280
+ const jsExtensions = isTypescriptInstalled() ? ["**/*.{js,ts}"] : ["**/*.{js}"];
283
281
  const cjsExtensions = isTypescriptInstalled()
284
282
  ? ["**/*.{cjs,cts}"]
285
283
  : ["**/*.{cjs}"];
286
284
  const mjsExtensions = isTypescriptInstalled()
287
- ? ["**/*.{mjs,mts}"]
288
- : ["**/*.{mjs}"];
285
+ ? ["**/*.{mjs,jsx,mts,tsx}"]
286
+ : ["**/*.{mjs,jsx}"];
289
287
 
290
288
  export default {
291
289
  "node/dirty": dirtyConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-webpack",
3
- "version": "4.8.0",
3
+ "version": "4.8.1",
4
4
  "description": "Provides Webpack's eslint rules as an extensible shared config",
5
5
  "keywords": [
6
6
  "eslint",