Skip to content

Commit

Permalink
2.0.0 publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jizhi.w056 committed Dec 4, 2017
1 parent 872b998 commit c76cb5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# eslint-config-shulidata [![Build Status](https://travis-ci.org/Shuli-FE/eslint-config-shulidata.svg?branch=master)](https://travis-ci.org/Shuli-FE/eslint-config-shulidata) [![npm package](https://img.shields.io/npm/v/eslint-config-shulidata.svg)](https://www.npmjs.org/package/eslint-config-shulidata) [![npm downloads](http://img.shields.io/npm/dm/eslint-config-shulidata.svg)](https://www.npmjs.org/package/eslint-config-shulidata)> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for the [Shuli-FE JavaScript style guide]()## Installation```$ npm install --save-dev eslint eslint-config-shulidata```## UsageOnce the `eslint-config-shulidata` package is installed, you can use it by specifying `shulidata` in the [`extends`](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) section of your [ESLint configuration](http://eslint.org/docs/user-guide/configuring).```js{ "extends": "shulidata", "rules": { // Additional, per-project rules... }}```### Using the `shulidata` config with `eslint:recommended`There are several rules in the [`eslint:recommended` ruleset](http://eslint.org/docs/rules/) that Shuli style is not opinionated about that you might want to enforce in your project.To use Shuli style in conjunction with ESLint's recommended rule set, extend them both, making sure to list `shulidata` last:```js{ "extends": ["eslint:recommended", "shulidata"], "rules": { // Additional, per-project rules... }}```To see how the `shulidata` config compares with `eslint:recommended`, refer to the [source code](https://github.com/Shuli-FE/eslint-config-shulidata/tree/master/rules), which lists every ESLint rule along with whether (and how) it is enforced by the `shulidata` config.## LicenseMIT © Shulidata
# eslint-config-shulidata [![Build Status](https://travis-ci.org/Shuli-FE/eslint-config-shulidata.svg?branch=master)](https://travis-ci.org/Shuli-FE/eslint-config-shulidata) [![npm package](https://img.shields.io/npm/v/eslint-config-shulidata.svg)](https://www.npmjs.org/package/eslint-config-shulidata) [![npm downloads](http://img.shields.io/npm/dm/eslint-config-shulidata.svg)](https://www.npmjs.org/package/eslint-config-shulidata)> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for the [树立信息-前端组](www.shulidata.com) JavaScript style guide## Installation```$ npm install --save-dev eslint eslint-config-shulidata```## UsageOnce the `eslint-config-shulidata` package is installed, you can use it by specifying `shulidata` in the [`extends`](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) section of your [ESLint configuration](http://eslint.org/docs/user-guide/configuring).```js{ "extends": "shulidata", "rules": { // Additional, per-project rules... }}```### Using the `shulidata` config with `eslint:recommended`There are several rules in the [`eslint:recommended` ruleset](http://eslint.org/docs/rules/) that Shuli style is not opinionated about that you might want to enforce in your project.To use Shuli style in conjunction with ESLint's recommended rule set, extend them both, making sure to list `shulidata` last:```js{ "extends": ["eslint:recommended", "shulidata"], "rules": { // Additional, per-project rules... }}```To see how the `shulidata` config compares with `eslint:recommended`, refer to the [source code](https://github.com/Shuli-FE/eslint-config-shulidata/tree/master/rules), which lists every ESLint rule along with whether (and how) it is enforced by the `shulidata` config.## LicenseMIT © Shulidata
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-shulidata",
"version": "1.2.0",
"version": "2.0.0",
"description": "ESLint shareable config for the Shuli JavaScript Style Guide.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c76cb5b

Please sign in to comment.