
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
eslint-config-icelandair
Advanced tools
This package provides Icelandair's base JS .eslintrc as an extensible shared config.
Assuming you already have a valid package.json
:
npm install --save-dev eslint-config-icelandair eslint eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
Will add the the full package as a dev dependency to your project. At which point you can use it by adding an .eslintrc
file to your project root directory.
{
"parser": "babel-eslint",
"extends": [ "icelandair" ]
}
Additionally, if you intend to use the babel-eslint
parser as shown here, you need to install that as well:
npm install --save-dev babel-eslint
We provide three options for your usage.
Our default export contains all of our ESLint rules, including ECMAScript 6+ and React rules. If you are writing a React application or component your .eslintrc will look something like this:
{
"parser": "babel-eslint",
"extends": [ "icelandair" ]
"env": { "browser": true },
}
When you just want to write some basic JS code and don't want/need the React rules. Allows safely skipping install of the peer dependencies eslint-plugin-jsx-a11y
and eslint-plugin-react
.
{
"extends": [ "icelandair/basic" ]
}
React rules only. You may reference these directly, but there may not be much point.
{
"extends": [ "icelandair/react" ]
}
FAQs
Icelandair's base JS ESLint config
We found that eslint-config-icelandair demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.