/logux-eslint-config

ESLint shareable config for Logux

Primary LanguageJavaScriptMIT LicenseMIT

Logux ESLint Config

Shareable code style and best practice for Logux projects.

Sponsored by Evil Martians

Install

Pure JavaScript:

yarn add --dev @logux/eslint-config eslint-config-standard eslint-plugin-promise eslint-plugin-jest eslint-plugin-node eslint-plugin-standard eslint-plugin-security eslint-plugin-import eslint-plugin-prefer-let eslint-plugin-prettierx eslint-plugin-unicorn eslint

TypeScript:

yarn add --dev @logux/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript eslint-config-standard eslint-plugin-promise eslint-plugin-jest eslint-plugin-node eslint-plugin-standard eslint-plugin-security eslint-plugin-import eslint-plugin-prefer-let eslint-plugin-prettierx eslint-plugin-unicorn eslint

Usage

For JavaScript add config to package.json or other ESLint configs.

  "eslintConfig": {
    "extends": "@logux/eslint-config"
  }

For TypeScript:

  "eslintConfig": {
    "extends": "@logux/eslint-config/ts"
  }