@foundbyte/eslint-plugin 1.1.4-alpha.1 → 1.1.4-alpha.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.
|
@@ -335,13 +335,7 @@ module.exports = {
|
|
|
335
335
|
return true // 所有第三方模块都排除
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
return
|
|
339
|
-
if (pattern.includes('*')) {
|
|
340
|
-
const regex = new RegExp(pattern.replace(/\*/g, '.*'))
|
|
341
|
-
return regex.test(modulePath)
|
|
342
|
-
}
|
|
343
|
-
return modulePath.includes(pattern)
|
|
344
|
-
})
|
|
338
|
+
return false
|
|
345
339
|
}
|
|
346
340
|
|
|
347
341
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foundbyte/eslint-plugin",
|
|
3
|
-
"version": "1.1.4-alpha.
|
|
3
|
+
"version": "1.1.4-alpha.2",
|
|
4
4
|
"description": "ESLint plugin for enforcing code style rules including arrow function padding, Vue script lines limit, and TypeScript type comment requirements",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|