Skip to content
An ESLint shareable config for Logux
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitignore
.npmignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
base.js
browser.js
node.js
package.json
yarn.lock

README.md

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"
  }
You can’t perform that action at this time.