Skip to content

isuvorov/eslint-config

 
 

Repository files navigation

Logux ESLint Config

Logux logo

Shareable code style and best practice for Logux projects.

Install

For browser and universal project:

yarn add --dev @logux/eslint-config eslint-config-standard eslint-plugin-promise eslint-plugin-jest eslint-plugin-node eslint-plugin-es5 eslint-plugin-standard eslint-plugin-security eslint-plugin-import eslint-plugin-import-helpers eslint

For the server-only project you can use config with ES2015+ support:

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-import-helpers eslint-plugin-prefer-let eslint

Usage

Add this config to package.json or other ESLint configs.

Browser and universal project:

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

Server-only project:

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

About

An ESLint shareable config for Logux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%