Skip to content

SlimIO/Eslint-config

Repository files navigation

ESLint Configuration

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 name value why we choose this configuration
indent 4 We are considering indent 2 not enougth for code visibility/readability
semi always We are following the official TC39 ASI recommandation

Dependencies

Name Refactoring Security Risk Usage
@iarna/toml Minor Low TBC
babel-eslint Minor High TBC
eslint Minor High TBC
eslint-plugin-jsdoc Minor High TBC

License

MIT

About

SlimIO ESLint configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •