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-godaddy-react-flow
Advanced tools
ESLint config for consistent style in ES6 React projects using Flow at GoDaddy.
Configuration for ES6 React JavaScript applications using Flow, officially used at GoDaddy. There are many useful features:
eslint
.eslint
. Many rules will fix themselves!This styleguide is used by dozens of product teams at GoDaddy. Have a question or comment? Open an issue!
# ES6 (including React rules)
npm i eslint-config-godaddy-react-flow --save-dev
There are two ways to use this styleguide depending on your own tooling preference: directly using pre-included binaries or running eslint
yourself with a custom .eslintrc
config.
These use exactly the configuration defined in this package (eslint-config-godaddy-react-flow
) with auto-fix enabled automatically.
{
"scripts": {
"lint": "eslint-godaddy-react-flow files/ you/ want-to/ lint/"
}
}
.eslintrc.js
and run eslint
yourself:module.exports = {
extends: 'godaddy-react-flow',
rules: {
//
// Put any rules you wish to override here.
//
}
}
The --fix
option in eslint
is only available as a CLI option. Auto-fix will NOT be enabled unless you run eslint --fix
in your package.json
.
{
"scripts": {
"lint": "eslint --fix files/ you/ want-to/ lint/"
}
}
FAQs
ESLint config for consistent style in ES6 React projects using Flow at GoDaddy.
The npm package eslint-config-godaddy-react-flow receives a total of 6 weekly downloads. As such, eslint-config-godaddy-react-flow popularity was classified as not popular.
We found that eslint-config-godaddy-react-flow demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 17 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.