
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
eslint-config-gatsby-standard
Advanced tools
Yet Another ESLint Config. This one installs rules required to use standardJS with Gatsby projects
Easily Lint your Gatsby site projects for StandardJS.
ESLint rule configuration for Gatsby Sites. This rule set is designed to closely match the Gatsby Starters while still following StandardJS. Simply install and extend to clean up your GatsbyJS code! The plugins and parser used are dependencies of this project. No need to specify them separately in your project.
This config is designed to be used in conjunction with prettier for automatic code formatting. Conflicting rules have been disabled through eslint-config-prettier. See the "Use With Atom" section below for a suggestion on how to implement this config with prettier for automatic linting and formatting.
@babel/eslint-parser is included to support new JavaScript features used in advanced Gatsby projects.
Install the configs by running:
npm install --save-dev eslint eslint-config-gatsby-standard
Then simply create a .eslintrc.json at your project root:
{
"extends": "gatsby-standard"
}
Be sure you also have an .eslintignore file in your project root so you won't receive unnecessary lint errors from Gatsby:
public
static
.cache
content
To use with prettier just add the .prettierrc.json config file to the root of the project:
{
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
}
If you use Atom, you can install linter-eslint to view the results of Gatsby Standard immediately.
apm install linter-eslint
Disable "Fix errors on save" and install prettier-atom:
apm install prettier-atom
Choose "ESLint Integration" in the package settings. This will use a global install of prettier-eslint but it will still follow the Gatsby Standard linting rules.
Be sure to check "Run Prettier Last" and optionally "Format Files on Save" and "Show in Status Bar." Most other code editors have similar packages to format on demand.
MIT © 2021 Brandon Kalinowski
FAQs
Yet Another ESLint Config. This one installs rules required to use standardJS with Gatsby projects
The npm package eslint-config-gatsby-standard receives a total of 138 weekly downloads. As such, eslint-config-gatsby-standard popularity was classified as not popular.
We found that eslint-config-gatsby-standard 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.