
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.
@ifanrx/eslint-config-standard
Advanced tools
@ifanrx/eslint-config-standard
仅针对 JavaScript 项目。
如果是 TypeScript 项目,请使用 @ifanrx/eslint-config-standard-ts
。
.eslintrc.js
配置文件的 extends
中,@ifanrx/standard
总是放在最后一个。
路径别名依赖 eslint-import-resolver-typescript
,已封装到 @ifanrx/eslint-config-standard/init
和 @ifanrx/eslint-config-standard-ts/init
提供的 init()
函数中。
使用时应先配置 tsconfig.json
的 compilerOptions.paths
,然后将 .eslintrc.js
的配置传入 init()
函数中。
// tsconfig.json
{
"compilerOptions": {
"paths": {
"@/*": "./src/*"
}
}
}
// .eslintrc.js
const {init} = require('@ifanrx/eslint-config-standard/init')
module.exports = init({
root: true,
extends: ['@ifanrx/standard'],
})
pnpm install @ifanrx/eslint-config-standard -D
// .eslintrc.js
module.exports = {
root: true,
extends: ['@ifanrx/standard'],
}
pnpm install @ifanrx/eslint-config-standard @ifanrx/eslint-config-standard-react -D
// .eslintrc.js
module.exports = {
root: true,
extends: ['@ifanrx/standard-react', '@ifanrx/standard'],
}
pnpm install @ifanrx/eslint-config-standard @ifanrx/eslint-config-standard-vue -D
module.exports = {
root: true,
extends: ['@ifanrx/standard-vue', '@ifanrx/standard'],
}
pnpm install @ifanrx/eslint-config-standard @ifanrx/eslint-config-standard-wxml -D
module.exports = {
extends: ['@ifanrx/standard-wxml', '@ifanrx/standard'],
}
FAQs
An ESLint shared standard configuration.
The npm package @ifanrx/eslint-config-standard receives a total of 0 weekly downloads. As such, @ifanrx/eslint-config-standard popularity was classified as not popular.
We found that @ifanrx/eslint-config-standard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.