
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
eslint-plugin-console
Advanced tools
安装eslint:
npm i eslint -D
安装eslint-plugin-console
npm install eslint-plugin-console -D
将插件添加到.eslintrc文件的plugins中:
在插件中会将所有规则都导出,然后可以使用extends来继承插件的配置。
PS: 不止这种继承方式,即使你传入一个对象,一个文件,eslint 也能继承其中的配置。
// .eslintrc.js
module.exports = {
extends: ["plugin:console/no-console-args"], // 继承插件导出的配置
};
// .eslintrc.js
module.exports = {
plugins: ["console"],
rules: {
"console/no-console-args": "error",
// 更多插件规则
},
};
console.log()无参数FAQs
定制ESLint rule of console
We found that eslint-plugin-console 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
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.