@alexandrov/eslint-config
Alexandrov.co JavaScript Styleguide - ESLint Shareable Config
Last updated 9 months ago by o_alexandrov .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @alexandrov/eslint-config 
SYNC missed versions from official npm registry.

@alexandrov/eslint-config

An ESLint Shareable Config

Install

npm i -g \
  eslint \
  prettier \
  babel-eslint \
  @alexandrov/eslint-config \
  eslint-config-prettier \
  eslint-plugin-prettier \
  eslint-config-standard \
  eslint-plugin-standard \
  eslint-plugin-promise \
  eslint-plugin-import \
  eslint-plugin-node \
  eslint-plugin-react \
  eslint-plugin-jest

Add to your ~/.eslintrc file

IMPORTANT! use only common for now...

{
  "extends": "@alexandrov/eslint-config/common" // use only this
}

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Add to your ~/.prettierrc file

{
  "arrowParens": "always",
  "trailingComma": "all",
  "tabWidth": 2,
  "semi": false,
  "singleQuote": false
}

Add VS Code extension - ESLint

Extension to enable ESLint in VS Code

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

License

MIT. Copyright (c) Alexandrov.co.

Current Tags

  • 1.3.2                                ...           latest (9 months ago)

14 Versions

  • 1.3.2                                ...           9 months ago
  • 1.3.1                                ...           9 months ago
  • 1.3.0                                ...           9 months ago
  • 1.2.0                                ...           10 months ago
  • 1.1.2                                ...           10 months ago
  • 1.1.1                                ...           10 months ago
  • 1.1.0                                ...           10 months ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 73
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |