ESLint Configuration

May 13, 2020 ยท View on GitHub

version Maintenance mit size dep Known Vulnerabilities Build Status

SlimIO ESLint configuration

Requirements

Getting Started

This package is available in the Node Package Repository and can be easily installed with npm or yarn.

$ npm i @slimio/eslint-config -D
# or
$ yarn add @slimio/eslint-config -D

Usage example

Create an .eslintrc file at the root of your project with the following (JSON) content:

{
    "extends": "@slimio/eslint-config"
}

Edit the file as you want by adding custom rules if required !

Why ?

rule namevaluewhy we choose this configuration
indent4We are considering indent 2 not enougth for code visibility/readability
semialwaysWe are following the official TC39 ASI recommandation

Dependencies

NameRefactoringSecurity RiskUsage
@iarna/tomlMinorLowTBC
babel-eslintMinorHighTBC
eslintMinorHighTBC
eslint-plugin-jsdocMinorHighTBC

License

MIT