![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
eslint-ignore-webpack
Advanced tools
eslintIgnore webpack eslint-loader
项目中推广eslint规范,在使用发现了一个问题; eslintignore文件只能在 eslint xxx 命令行形式中生效; webpack eslint-loader则不可以,因为webpack loader中规定了 忽略文件要通过exclude方式。
故写了一个简单的loader来读取eslintignore的内容,并且以数字的形式返回给exclude。 使用方式如下:
preLoaders: [{
test: /\w+[^Tpl]\.js$/,
loader: 'eslint-loader',
include: path.resolve(__dirname, "../js"),
exclude: new EslintIgnore()
/*exclude:[ // 排除第三方库,插件之类的
path.resolve(__dirname, "../js/lib"),
path.resolve(__dirname, "../js/com/thunderAgent.js"),
path.resolve(__dirname, "../js/com/pv_click_v2.mini.js"),
path.resolve(__dirname, "../js/util/debug.js")
]*/
}]
FAQs
use eslintIgnore file in webpack eslint-loader
The npm package eslint-ignore-webpack receives a total of 3 weekly downloads. As such, eslint-ignore-webpack popularity was classified as not popular.
We found that eslint-ignore-webpack demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.