0.2.5 • Published 3 years ago
@shishiron/eslint-config v0.2.5
@shishiron/eslint-config
An ESLint Shared Config for @shishiron packages.
Usage
Install dependencies
# Using npm
$ npm install @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint eslint-config-prettier eslint-plugin-unicorn eslint-plugin-prettier prettier eslint-plugin-no-secrets eslint-plugin-mocha eslint-plugin-mocha-cleanup eslint-plugin-chai-expect-keywords eslint-plugin-chai-expect typescript --save-dev
# Using yarn
$ yarn add @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint eslint-config-prettier eslint-plugin-unicorn eslint-plugin-prettier prettier eslint-plugin-no-secrets eslint-plugin-mocha eslint-plugin-mocha-cleanup eslint-plugin-chai-expect-keywords eslint-plugin-chai-expect typescript --dev
Install
# Using npm
$ npm install @shishiron/eslint-config --save-dev
# Using yarn
$ yarn add @shishiron/eslint-config --dev
Configuration
{
/// .eslintrc.js
extends: "@shishiron"
}
{
/// .eslintrc.json
"extends": "@shishiron"
}
{
# .eslintrc.yml
extends:
- "@shishiron"
}
Note: We omitted the /eslint-config
prefix since it is automatically assumed by ESLint.
License
This project is licensed under the MIT license. Please see the license file for more information. tl;dr you can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source.