
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@juln/fabric
Advanced tools
A collection of configuration files containing prettier, eslint, stylelint
一个包含 prettier,eslint,stylelint 的配置文件合集
A collection of configuration files containing prettier, eslint, stylelint
安装
npm i @juln/fabric -D
yarn add @juln/fabric -D
in .eslintrc.js
const path = require("path");
module.exports = {
extends: [path.resolve('./node_modules/@juln/fabric')],
rules: {
// your rules
},
};
或
module.exports = {
extends: ['@juln/fabric'],
rules: {
// your rules
},
};
in .prettierrc.js
const prettier = require('@juln/fabric/prettier');
module.exports = {
...prettier,
};
in .stylelintrc.js
module.exports = {
extends: [require.resolve('@juln/fabric/stylelint')],
rules: {
// your rules
},
};
@typescript-eslint/no-unused-vars 规则在极少数情况下会误报。 比如下面这段代码, ts函数类型定义,函数中的参数会被当作真实变量被判断。
type Fn = (arg: any) => void; // arg 误报
解决方案: 使用@typescript-eslint/no-unused-vars-experimental代替@typescript-eslint/no-unused-vars。但是lint速度会很明显变慢很多
// .eslintrc.js
module.exports = {
extends: ['@juln/fabric'],
rules: {
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars-experimental': 'error',
},
};
FAQs
A collection of configuration files containing prettier, eslint, stylelint
The npm package @juln/fabric receives a total of 12 weekly downloads. As such, @juln/fabric popularity was classified as not popular.
We found that @juln/fabric 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.