@typescord/eslint-config

0.5.0 • Public • Published

Typescord ESLint config

ESLint config for Typescord projects

This repository contains the ESLint configuration used by the core packages of Typescord.

Installation

You need to install ESLint with @typescord/eslint-config and others peer dependencies:

npm i eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-plugin-sonarjs eslint-plugin-unicorn @typescord/eslint-config --save-dev
# or with Yarn :
yarn add eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-plugin-sonarjs eslint-plugin-unicorn @typescord/eslint-config -D

Note: If you installed ESLint globally (using the -g flag) then you must also install @typescord/prettier-config and others peer dependencies globally.

Usage

@typescord must be extended when creating packages for Typescord.

JSON format:

{
	"root": true,
	"extends": ["@typescord"]
	// ...
}

YAML format:

root: true
extends: ['@typescord']
# ...

Package Sidebar

Install

npm i @typescord/eslint-config

Weekly Downloads

0

Version

0.5.0

License

MIT

Unpacked Size

9.82 kB

Total Files

5

Last publish

Collaborators

  • mestery
  • enderdragonneau