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!
# Default with ES6npm i eslint-config-godaddy --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
These use exactly the configuration defined in this package (
eslint-config-godaddy) with auto-fix enabled automatically.
"scripts":"lint": "eslint-godaddy files/ you/ want-to/ lint/"
moduleexports =extends: 'godaddy'rules://// Put any rules you wish to override here.//
--fix option in
eslint is only available as a CLI option. Auto-fix will NOT be enabled unless you run
eslint --fix in your
"scripts":"lint": "eslint --fix files/ you/ want-to/ lint/"