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-opentable
Advanced tools
This package provides OpenTable's .eslintrc as an extensible shared config.
This package provides OpenTable's .eslintrc as an extensible shared config. We extend eslint-config-airbnb-base.
The export lints ES6/2015+. It requires eslint
and eslint-plugin-import
.
npm install --save-dev eslint-config-opentable eslint
"extends": "opentable"
to your .eslintrcSee Airbnb's Javascript styleguide and the ESlint config docs for more information.
Note that ESLint 3.0+, which is a dependency of this config, requires Node 4+. For support in Node <4, use eslint-config-opentable version 4.x.
There are a few minor differences between this config and AirBnB's. Links are to AirBnB's styleguide.
18.12 Max line length: 100 - Increased to 120
Why? We just wanted to allow longer lines.
19.2 Comma dangle - No
Why? We found the extra comma distracting.
22.3 Use PascalCase only when naming constructors or classes. - Yes, but one exception
Why? We added $.Deferred as a common exception, since it should not be used with the
new
keyword.
This repo doesn't change too often, so issues or requests may not be noticed quickly. Please contact the maintainers directly to call an issue to their attention.
FAQs
This package provides OpenTable's .eslintrc as an extensible shared config.
The npm package eslint-config-opentable receives a total of 9 weekly downloads. As such, eslint-config-opentable popularity was classified as not popular.
We found that eslint-config-opentable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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 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.