@interaktiv/eslint-config-dia
ESLint shareable config for most sort of projects at DIA
Last updated a month ago by dia-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @interaktiv/eslint-config-dia 
SYNC missed versions from official npm registry.

eslint-config-dia

ESLint > shareable config for most sort of projects at DIA

Commitizen friendly Conventional Commits Code of Conduct semantic-release MIT License

npm latest version npm next version

Table of Contents

Installation

npm install --save-dev @interaktiv/eslint-config-dia

Usage

Once the @interaktiv/eslint-config-dia package is installed, you can use it by specifying @interaktiv/dia in the extends section of your ESLint configuration.

{
  "extends": "@interaktiv/dia",
  "rules": {
    // Additional, per-project rules...
  }
}

Notes

Please note that most of the stylistic rules are disabled cause we are using Prettier to format our code. Therefore the eslint-config-prettier plugin is included.

Our Prettier shareable config can be found here @interaktiv/prettier-config-dia.

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.

But not only these, others too, checkout out the source.

Optional configurations

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

{
  "extends": "@interaktiv/dia/<config-name>"
}

or in combination with the base config (recommended):

{
  "extends": [
    "@interaktiv/dia",
    "@interaktiv/dia/<config-name>"
  ]
}

for example

{
  "extends": [
    "@interaktiv/dia",
    "@interaktiv/dia/titanium",
    "@interaktiv/dia/jest",
  ]
}

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 we are using prettier to format our code. To ensure this the eslint-config-prettier is included too.

    Our Prettier shareable config can be found here @interaktiv/prettier-config-dia.

  • The lwc plugin disables all import plugin rules cause currently there is no lwc module resolver package available.

ESLint Dependencies

License

MIT Copyright © 2019-present die.interaktiven GmbH & Co. KG

Current Tags

  • 0.16.3                                ...           latest (a month ago)
  • 0.16.3                                ...           next (a month ago)

9 Versions

  • 0.16.3                                ...           a month ago
  • 0.16.2                                ...           a month ago
  • 0.16.1                                ...           a month ago
  • 0.16.0                                ...           4 months ago
  • 0.15.2                                ...           4 months ago
  • 0.15.1                                ...           4 months ago
  • 0.15.0                                ...           4 months ago
  • 0.14.1                                ...           4 months ago
  • 0.14.0                                ...           6 months ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 68
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |