Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
eslint-config-nfl
Advanced tools
This package provides NFL's .eslintrc as an extensible shared config. Forked from Airbnb.
We export two ESLint configurations for your usage.
Our default export contains all of our ESLint rules, including ECMAScript 6+
and React. It requires eslint
, eslint-plugin-import
, eslint-plugin-react
,
and eslint-plugin-jsx-a11y
.
npm install --save-dev eslint-config-nfl eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint
"extends": "nfl"
to your .eslintrcLints ES6+ but does not lint React. Requires eslint
and
eslint-plugin-import
.
npm install --save-dev eslint-config-nfl eslint-plugin-import eslint
"extends": "nfl/base"
to your .eslintrcConsider adding test cases if you're making complicated rules changes, like anything involving regexes. Perhaps in a distant future, we could use literate programming to structure our README as test cases for our .eslintrc?
You can run tests with npm test
.
You can make sure this module lints with itself using npm run lint
.
FAQs
NFL's ESLint config
The npm package eslint-config-nfl receives a total of 297 weekly downloads. As such, eslint-config-nfl popularity was classified as not popular.
We found that eslint-config-nfl 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.