Git Product home page Git Product logo

eslint-config's Introduction

eslint-config

Baseline ESLint configurations used by Wiser Solutions, Inc.

Base Config

Every JavaScript project should start by extending the base config.

{
  "extends": "@wisersolutions"
}

Note: The base config requires the @babel/eslint-parser parser installed.

Extensions

In some specific use-cases (e.g. application projects) or when using some common libraries (e.g. jest), use the provided additional config extensions.

{
  "extends": [
    "@wisersolutions",
    "@wisersolutions/eslint-config/jest",
    "@wisersolutions/eslint-config/cypress",
    ""
  ]
}

The following extensions are provided:

  • cypress - for applications that use Cypress for end-to-end testing (requires eslint-plugin-cypress),
  • jest - for any project using Jest for unit testing (requires eslint-plugin-jest),
  • react - for applications or component libraries using React (requires eslint-plugin-react),
  • enzyme - for applications or component libraries that use Enzyme for testing React components.

Combinations

There are also combinations provides to simplify the most common use-cases.

{
  "extend": "@wisersolutions/eslint-config/application"
}

The following combinations are provided:

  • application - applications using React, Cypress, and Jest,
  • quadro-application - applications built with the Quadro framework (plus all of the above).

eslint-config's People

Contributors

hon2a avatar mcarlotta avatar saladfork avatar

Watchers

 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

eslint-config's Issues

Open source?

If you want this public and plan it as open source, it should be put in WiserSolutions instead of here

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.