@dominicbarnes/eslint-config
Base configuration for ESLint throughout my projects
Last updated 5 years ago by dominicbarnes .
Original npm · Tarball · package.json
$ cnpm install @dominicbarnes/eslint-config 
SYNC missed versions from official npm registry.

eslint-config

ESLint configuration for my personal projects.

Usage

Since I have a lot of varying JS projects, I've got several "sub-modules" that are suited to various environments. Each project will likely import several of these modules, since ESLint allows extending with multiple sources:

For apps, where there is likely a mixture of server and browser code, the root .eslintrc will likely extend the core configuration (ie: @dominicbarnes) directly. This allows specific subdirectories to be given the configuration sub-module more suited to them.

For example, in a project that uses node.js for the server, with deku on the client:

  • .eslintrc: { "extends": "@dominicbarnes" }
  • client/.eslintrc: { "extends": [ "@dominicbarnes/mako", "@dominicbarnes/browser", "@dominicbarnes/deku" }
  • server/.eslintrc: { "extends": "@dominicbarnes/node" }

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

7 Versions

  • 1.0.0                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |