![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
eslint-ignore
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
eslintIgnore webpack eslint-loader
We found that eslint-ignore 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.