Giter Site home page Giter Site logo

mobilabsolutions / eslint-config Goto Github PK

View Code? Open in Web Editor NEW
4.0 6.0 0.0 1.47 MB

Default ESLint configuration for Mobilab solutions projects.

License: MIT License

JavaScript 100.00%
code-checker code-linter linter eslint eslint-config eslint-rules

eslint-config's Introduction

Mobilab Solutions eslint-config

Build Status

Usage

Include the package that you want to the "extends" array in your .eslintrc.* file.
You can combine with multiple packages. See the available packages

Sample

An example to how configure an ES6 + React project.\

Installation and usage

npm install --save-dev eslint prettier @mobilabsolutions/eslint-config @mobilabsolutions/eslint-config-react

{
  "extends": [
    "@mobilabsolutions/eslint-config/es6",
    "@mobilabsolutions/eslint-config-react"
  ]
}

Development

git clone [email protected]:mobilabsolutions/eslint-config.git
cd eslint-config
yarn
yarn run bootstrap

Addons

@mobilabsolutions/eslint-config - When using ES5, ES6, ...
@mobilabsolutions/eslint-config-react - When using React (requires es6 base configuration or higher)
@mobilabsolutions/eslint-config-node - When using NodeJS
@mobilabsolutions/eslint-config-jest - When using Jest to develop the tests\

Overrides

You can easily override any specific options.
See http://eslint.org/docs/developer-guide/shareable-configs for more information.

Example

{
  "rules": {
    "constructor-super": "off",
    "generator-star-spacing": "off",
    "no-class-assign": "off"
  }
}

Contributing

See how to contribute Contributors Guide

License

MIT License

eslint-config's People

Contributors

dependabot[bot] avatar johnnyghost avatar stockulus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eslint-config's Issues

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.