
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@rx-now/eslint-plugin
Advanced tools
@rx-now/eslint-plugin
一个用于规范项目代码结构和内容格式的 ESLint 插件,提供了一系列规则来确保代码的清晰性、一致性和可维护性。
通过 npm 安装插件:
npm install @rx-now/eslint-plugin -D
// eslint.config.js
import { defineConfig } from "eslint/config";
import rx from '@rx-now/eslint-plugin';
export default defineConfig({
extends: [
rx.configs.recommended,
],
rules: {
"@rx-now/domain-import": ["error", { /* Options */ }],
"@rx-now/folder-naming": ["error", { /* Options */ }],
"@rx-now/folder-naming-with-ext": ["error", { /* Options */ }],
"@rx-now/file-naming": ["error", { /* Options */ }],
"@rx-now/zhlint-comment": ["warn"],
"@rx-now/zhlint-jsx": ["warn"],
"@rx-now/zhlint-string": ["warn"]
}
});
{
"plugins": ["@rx-now"],
"rules": {
"@rx-now/domain-import": ["error", { }],
"@rx-now/folder-naming": ["error", { }],
"@rx-now/folder-naming-with-ext": ["error", { }],
"@rx-now/file-naming": ["error", { }],
"@rx-now/zhlint-comment": ["warn"],
"@rx-now/zhlint-jsx": ["warn"],
"@rx-now/zhlint-string": ["warn"]
}
}
@rx-now/domain-import
exclude
、excludedDomains
和 layerConfig
。@rx-now/folder-naming
kebab-case
规范。root
和 ignorePatterns
。@rx-now/folder-naming-with-ext
root
。@rx-now/file-naming
kebab-case
规范。root
。@rx-now/zhlint-comment
@rx-now/zhlint-jsx
@rx-now/zhlint-string
每个规则的详细配置和说明请参考 docs/rules 目录下的文档。
FAQs
ESLint plugin for rx applications
The npm package @rx-now/eslint-plugin receives a total of 27 weekly downloads. As such, @rx-now/eslint-plugin popularity was classified as not popular.
We found that @rx-now/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.