12Core Shareable eslint config
Last updated 8 months ago by bret .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @little-core-labs/eslint-config-12core 
SYNC missed versions from official npm registry.


Node.js CI

A shareable eslint config for 12core projects.


npm i @little-core-labs/eslint-config-12core eslint --save-dev

Then create an .eslintrc.json file in the root of your directory:

  "extends": "@little-core-labs/eslint-config-12core"

Then run eslint on whatever code you want to lint:

eslint --ext .js esm/

Make the linting step part of your testing script.


@little-core-labs/eslint-config-12core bundles standard + standard-jsx with additional consutomizations that work for all of us at little-core-labs.

Because we control the shareable config, the normally peer-dependent eslint plugins are actually included as transient dependencies, so that usage of this config is a lot more convenient (only 2 deps, instead if 5+).


If you would like to make rule changes, please submit a PR with some discussion with rational.

Editor plugins

You should use an editor plugin so that you can see the warnings while working, and take advantage of auto formatting:



Your favorite editor

... please PR notes you have!


If you want to use the standard react plugin, follow these steps:

Install deps

npm i @little-core-labs/eslint-config-12core eslint babel-eslint eslint-config-standard-react --save-dev

Create eslint config

Create a .eslintrc.json with the following.

  "parser": "babel-eslint",
  "extends": ["@little-core-labs/eslint-config-12core", "standard-react"]

Run eslint

eslint --ext .js esm/

Current Tags

  • 1.0.0                                ...           latest (8 months ago)

3 Versions

  • 1.0.0                                ...           8 months ago
  • 0.0.1                                ...           8 months ago
  • 0.0.0                                ...           8 months ago
Maintainers (2)
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 5
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2017 © taobao.org |