A Gatsby starter with strict linting and auto-formatting rules.
I'm not nodejs/front/anything developer so feel free to commit piece of good code
- 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
ornpm run develop
- Other scripts like
build
,format
,type-check
andlint
are also available
- Other scripts like
Prettier aims 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.
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.
Source code is linted by ESLint, enforcing the Airbnb JavaScript Style Guide through an overridable set of rules provided by eslint-config-airbnb.