Git Product home page Git Product logo

gatsby-starter-modern's Introduction

⚠️ DEPRECATED

This project has been superseded by gatsby-starter-strict.

⚛️ gatsby-starter-modern

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

🚀 Getting started

  • Clone this project and install all the required dependencies (e.g. with gatsby new gatsby-example-site https://github.com/kripod/gatsby-starter-modern after making sure that Gatsby CLI is installed globally with npm install --global gatsby-cli)
  • Start a development server with yarn develop or npm run develop
    • Other scripts like build, format and lint are also available

Deploy

Deploy to Netlify

💅 Style management

Rebass, a React UI component library & design system, is used for styling components. Based on styled-components and styled-system, it provides a delightful way for managing styles.

✨ 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 Prettier is to stop all the on-going debates over coding styles.

Linting

Linters are tools that analyze source code to flag programming errors, bugs, stylistic errors, and suspicious constructs.

gatsby-starter-modern's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gatsby-starter-modern's Issues

Instruction on using SASS instead of Rebass

Hi!

Thanks for the amazing starter pack, this is my favorite so far!

I just found out that you've updated it to use Rebass instead of SASS for styling. But I prefer SASS and it's what my project requires. I'm relatively new to this. Could you please guide me to any instruction or something to understand how I could replace Rebass with SASS?
Thanks! 🙂

Simplify ESLint configuration

The following parts of .eslintrc.json should be removed on the long term:

"settings": {
  "import/core-modules": ["gatsby"]
}

Related issue: gatsbyjs/gatsby#5410


"rules": {
  "jsx-a11y/anchor-is-valid": [
    "error",
    {
      "components": ["Link"],
      "specialLink": ["to"],
      "aspects": ["noHref", "invalidHref", "preferButton"]
    }
  ]
}

Related PR: airbnb/javascript#1648

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error while updating /yarn.lock:
Couldn't find any versions for "scheduler" that matches "^16.6.2"

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.