2.0.0 • Published 2 years ago

@runejs/eslint-config v2.0.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

RuneJS Discord Server

RuneJS

ESLint Config

A standard set of ESLint rules for all RuneJS projects.

Installation

Required peer dependencies:

  • eslint
  • @typescript-eslint/parser
  • @typescript-eslint/eslint-plugin

Install the RuneJS eslint config and the required peer dependencies with the following:

npm i --save-dev eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin @runejs/eslint-config

Usage

Create a .eslintrc file in your project's root directory or add an entry for eslintConfig in your package.json with the following configuration:

{
    "extends": [ "@runejs" ],
    "parserOptions": {
        "project": "./tsconfig.json"
    }
}
2.0.0-rc.1

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.0

3 years ago