Skip to content

ravorona/eslint-config

Repository files navigation

Publish

ESLint configuration

Javascript code quality guide using ESLint

Install

Yarn:

yarn add -D \
    @ravorona/eslint-config \
    eslint \
    typescript

NPM:

npm i --save-dev \
    @ravorona/eslint-config \
    eslint \
    typescript

Usage

Set the shared configurations inside your ESLint configuration

import ravorona from '@ravorona/eslint-config'

export default [
  ...ravorona.configs.recommended,
  {
    rules: {
      'no-unused-vars': 'warn'
    }
  }
]

Formatting rules

Prefer Prettier for formatting rules.

Documentations

Eslint Stylistic