eslint-config-tidy

2018-10-13 admin

eslint-config-tidy是什么

什么是eslint-config-tidy,ESLint shareable config for Tidy style

eslint-config-tidy使用教程帮助文档

eslint-config-tidy Build status for ESLint Config Tidy

ESLint shareable config for Tidy style

Why?

  • Consistency.
  • Clarity.
  • Simplicity.

Install

npm install eslint-config-tidy --save-dev

Usage

All you have to do is tell your linter to use this config.

Use with XO (recommended)

Add some XO config to your package.json:

{
    "name": "my-awesome-project",
    "xo": {
        "extend": "tidy"
    }
}

Alternatively, use with ESLint

Add some ESLint config to your package.json:

{
    "name": "my-awesome-project",
    "eslintConfig": {
        "extends": "tidy"
    }
}

Related

Contributing

See our contributing guidelines for more details.

  1. Fork it.
  2. Make a feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

License

MPL-2.0 © Seth Holladay

Go make something, dang it.

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-42565.html

文章标题:eslint-config-tidy

回到顶部