Détail du package

eslint-config-opuscapita

OpusCapita70Apache-2.02.0.10

OpusCapita ESLint config, following our styleguide

readme

badge-npm-version NPM Downloads badge-license

OpusCapita ESLint config

Synopsis

This package provides OpusCapita's base .eslintrc as an extensible shared config.

Motivation

ESLint is a tool for guarantee a code style consistency across developers team. It helps to take a code more clear and readable. For example it detects an unused variables. Also with linting you automatically avoid common pit-falls

Usage

Our default export contains all of our ESLint rules, including ECMAScript 2015+ and React.

It requires:

.eslintrc example:

{
  "extends": "opuscapita",
  "env": {
    "jasmine": true,
    "browser": true,
    "node": true,
    "es6": true
  }
}

Tips

Rules reference

Editor configuration

It unnecessary to run npm run eslint every time for error checking. Your editor able to highlight an errors on fly. Some users prefer this way.

How to enable ESLint in your editor

Automatically fixing can be applied to some rules

npm run lint -- --fix

Contributors

  • Kirill Volkovich kirill.volkovich@jcatalog.com
  • Daniel Zhitomirsky daniel.zhitomirsky@jcatalog.com
  • Alexey Sergeev alexey.sergeev@jcatalog.com

License

OpusCapita ESLint config is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

changelog

v2.0.10

v2.0.9 (Thu, 04 Apr 2019 15:59:26 GMT)

v2.0.8

v2.0.7

v2.0.6

v2.0.5

v2.0.4

v2.0.3

v2.0.2

v2.0.1 (Tue, 24 Jul 2018 11:35:02 GMT)

v2.0.0 (Tue, 26 Dec 2017 12:53:30 GMT)

v1.0.9 (Fri, 28 Jul 2017 20:10:18 GMT)

v1.0.8 (Fri, 07 Jul 2017 18:07:17 GMT)

v1.0.7 (Mon, 29 May 2017 19:36:12 GMT)

  • Fixing duplicated rules (Alexey Sergeev sab@scand.com, 247523d)
  • adding contributors to package.json (Alexey Sergeev sab@scand.com, 2912cb7)
  • Set up bew version after release (Alexey Sergeev sab@scand.com, 3b0ae06)

v1.0.6 (Mon, 29 May 2017 19:18:23 GMT)

  • Fixing repository url (Alexey Sergeev sab@scand.com, 40d5be7)
  • Incrementing version after release (Alexey Sergeev sab@scand.com, 2a8e6d6)

v1.0.5 (Mon, 29 May 2017 19:07:55 GMT)

v1.0.2 (Wed, 14 Dec 2016 13:42:08 GMT)

v1.0.1 (Wed, 14 Dec 2016 11:16:55 GMT)

v1.0.0 (Thu, 24 Nov 2016 22:39:01 GMT)