
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
eslint-config-godaddy-es5
Advanced tools
ESLint config for consistent style in ES5 (Node & React) projects at GoDaddy.
Configuration for React and non-React ES5 JavaScript applications 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!
# Legacy ES5 (including React rules)
npm i eslint-config-godaddy-es5 --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-es5
) with auto-fix enabled automatically.
{
"scripts": {
"lint": eslint-godaddy-es5 files/ you/ want-to/ lint/",
"lint-react": "eslint-godaddy-es5-react files/ you/ want-to/ lint/"
}
}
.eslintrc
and run eslint
yourself:module.exports = {
// Or for ES5 + React:
// extends: 'godaddy-es5-react',
extends: 'godaddy-es5',
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 ES5 (Node & React) projects at GoDaddy.
The npm package eslint-config-godaddy-es5 receives a total of 14 weekly downloads. As such, eslint-config-godaddy-es5 popularity was classified as not popular.
We found that eslint-config-godaddy-es5 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.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.