eslint-config-doly
doly' base javascript ESLint config
Last updated 2 months ago by neo_huang .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-config-doly 
SYNC missed versions from official npm registry.

eslint-config-doly

Build Status

基于eslint-config-airbnb-base进行扩展的,javascript风格指南(不包含React)

默认导出包含所有ESLint规则,包括ECMAScript 6+。如果您需要React,请使用eslint-config-doly-react

如何使用

请运行以下命令:

npm install --save-dev eslint eslint-config-doly

配置.eslintrc

{
  "extends": "eslint-config-doly"
}

基础规则

规范基于eslint-config-airbnb-base上进行扩展

Airbnb JavaScript Style Guide

关于规则的修改或扩展

配置.eslintrc

//.eslintrc
{
  "extends": ["eslint-config-doly"],
   "rules": {
     "semi": ["error", "always"]
   }
}

License

MIT License

Current Tags

  • 0.0.3-alpha.0                                ...           latest (2 months ago)

6 Versions

  • 0.0.3-alpha.0                                ...           2 months ago
  • 0.0.2-alpha.2                                ...           2 months ago
  • 0.0.2-alpha.1                                ...           2 months ago
  • 0.0.2-alpha.0                                ...           3 months ago
  • 0.0.1                                ...           3 months ago
  • 0.0.1-alpha.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 7
Dependencies (4)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |