0.5.0 • Published 3 years ago

@typescord/eslint-config v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

If you have the error Resolve error: unable to load resolver "node" when you lint:

yarn add eslint-import-resolver-node -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']
# ...
0.5.0

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.6

3 years ago

0.1.4

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago