Giter Site home page Giter Site logo

kbshl / eslint-config-kbshl Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 40 KB

ESLint shareable config for my Javascript based projects - Mobile and Web

Home Page: https://eslint.org/docs/user-guide/configuring#extending-configuration-files

License: MIT License

JavaScript 100.00%
eslint eslint-config personal-config

eslint-config-kbshl's Introduction

eslint-config-kbshl

Commitizen friendly NPM NPM total downloads NPM license GitHub stars

ESLint > shareable config for my Javascript based projects - Mobile and Web

Installation

npm install --save-dev eslint-config-kbshl

Usage

Once the eslint-config-kbshl package is installed, you can use it by specifying ksbhl in the extends section of your ESLint configuration.

{
  "extends": "kbshl",
  "rules": {
    // Additional, per-project rules...
  }
}

Notes

Please note that most of the stylistic rules are disabled cause I use prettier to format my code. Therefore the eslint-config-prettier is included.

Provided configurations

The default config actually is composed of several configurations and you can use those individually. These are the configs it's using:

You can use each of these configs yourself. Also, the es6, import, promise, security configs each have a possible-errors.js, best-practices.js (and stylistic.js) which they are composed of as well.

Optional configurations

Other configs are exposed also. You can use them standalone:

{
  "extends": "kbshl/<config-name>"
}

or in combination with the base config (recommended):

{
  "extends": [
    "kbshl",
    "kbshl/<config-name>"
  ]
}

Things to know

  • All plugins needed for rules used by these configs are dependencies of this module so you don't have to install anything on your own.
  • Almost all of the stylistic rules are disabled cause I use prettier to format my code. To ensure this the eslint-config-prettier is included too.

ESLint Dependencies

License

MIT © Konstantin Büschel

eslint-config-kbshl's People

Contributors

kbshl avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.