
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
@antmjs/eslint
Advanced tools
代码统一规范工具库
团队成员多了之后避免因为格式不一致导致一大堆的冲突
yarn add @antmjs/eslint --dev
eslint.config.js
module.exports = {
extends: './node_modules/@antmjs/eslint/index.js',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
ecmaVersion: '2021',
},
settings: {
'import/resolver': {
typescript: {
project: 'tsconfig.json',
},
},
react: {
createClass: 'createReactClass', // Regex for Component Factory to use,
// default to "createReactClass"
pragma: 'React', // Pragma to use, default to "React"
fragment: 'Fragment', // Fragment to use (may be a property of <pragma>), default to "Fragment"
version: 'detect', // React version. "detect" automatically picks the version you have installed.
// You can also use `16.0`, `16.3`, etc, if you want to override the detected value.
// default to latest and warns if missing
// It will default to "detect" in the future
// flowVersion: '0.53', // Flow version
},
},
}
FAQs
The npm package @antmjs/eslint receives a total of 134 weekly downloads. As such, @antmjs/eslint popularity was classified as not popular.
We found that @antmjs/eslint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.