
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
eslint-config-typescript-airbnb
Advanced tools
Eslint airbnb configuration configuration for typescript
This package provides Airbnb's JS .eslintrc as an extensible shared config.
npm info "eslint-config-typescript-airbnb@latest" peerDependencies
if you using npm 5+, use this shortcut
npx install-peerdeps --dev eslint-config-typescript-airbnb
This will work with yarn, npx will detect that you are using yarn and install dependencies via yarn.
Add "extends": "typescript-airbnb"
to your .eslintrc.
For non React applications use "extends": "typescript-airbnb/base"
Edit package.json
file and following scripts
"lint": "eslint --ext .ts,.tsx 'src/**/*.ts?'"
"lint:fix": "yarn lint --fix",
"lint": "eslint --ext .ts,.tsx 'src/**/*.ts?'"
"lint:fix": "npm run lint -- --fix",
tslint
eslint
help
> find actions
ts,tsx
to eslint.additional.file.extensions
Webstorm cannot have eslint fix on save
You should uninstall tslint
and Prettier
from extensions.
File
> Preferences
> Settings
Edit in settings.json
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
]
Eslint: Auto Fix On Save
This config was inspired by eslint-config-react-app and eslint-config-airbnb.
FAQs
Eslint airbnb configuration configuration for typescript
The npm package eslint-config-typescript-airbnb receives a total of 0 weekly downloads. As such, eslint-config-typescript-airbnb popularity was classified as not popular.
We found that eslint-config-typescript-airbnb 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.