Skip to content
A Gatsby starter with strict linting and auto-formatting rules.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Remove TSLint support Jan 12, 2019
src Remove typography.js Feb 20, 2019
.editorconfig
.eslintrc.json Fix ESLint rule severity Feb 22, 2019
.gitignore
.prettierrc.json
.stylelintrc.json Fix linting styled-components Feb 20, 2019
LICENSE
README.md Update readme Nov 15, 2018
gatsby-config.js
package.json
tsconfig.json Use `allowSyntheticDefaultImports` instead of `esModuleInterop` Dec 12, 2018
yarn.lock Bump gatsby from 2.2.8 to 2.2.9 Mar 23, 2019

README.md

⚛️ gatsby-starter-strict

A Gatsby starter with strict linting and auto-formatting rules.

🚀 Getting started

  • Clone this project and install all the required dependencies (e.g. with npx gatsby new gatsby-example-site https://github.com/kripod/gatsby-starter-strict)
  • Start a development server with yarn develop or npm run develop

Deploy

Deploy to Netlify

Developer experience

Automatic code formatting

Prettier is an opinionated code formatter aiming to provide codebase consistency when multiple developers work on the same project. The main reason behind adopting it is to stop all the on-going debates over coding styles.

Static type checking

TypeScript adds optional types to JavaScript, preventing several programming mistakes. For a quick guide about using React with it, please refer to the React TypeScript Cheatsheet.

Linting

Linters are tools that analyze source code to flag programming errors, bugs, stylistic errors, and suspicious constructs. Source code is linted by ESLint, enforcing the Airbnb JavaScript Style Guide through an overridable set of rules provided by eslint-config-airbnb.

You can’t perform that action at this time.