معرفی شرکت ها


eslint-plugin-xo-1.0.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

ESLint rules for XO
ویژگی مقدار
سیستم عامل -
نام فایل eslint-plugin-xo-1.0.0
نام eslint-plugin-xo
نسخه کتابخانه 1.0.0
نگهدارنده ['sindresorhus']
ایمیل نگهدارنده ['sindresorhus@gmail.com']
نویسنده Sindre Sorhus
ایمیل نویسنده sindresorhus@gmail.com
آدرس صفحه اصلی git+https://github.com/sindresorhus/eslint-plugin-xo.git
آدرس اینترنتی https://github.com/sindresorhus/eslint-plugin-xo#readme
مجوز MIT
# eslint-plugin-xo [![Build Status](https://travis-ci.org/sindresorhus/eslint-plugin-xo.svg?branch=master)](https://travis-ci.org/sindresorhus/eslint-plugin-xo) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/eslint-plugin-xo/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/eslint-plugin-xo?branch=master) > ESLint rules for [XO](https://github.com/sindresorhus/xo) This plugin is bundled with XO, but can still be useful if you don't use XO. ## Install ``` $ npm install --save-dev eslint eslint-plugin-xo ``` ## Usage Configure it in `package.json`. ```json { "name": "my-awesome-project", "eslintConfig": { "env": { "es6": true }, "parserOptions": { "ecmaVersion": 7, "sourceType": "module" }, "plugins": [ "xo" ], "rules": { "xo/catch-error-name": ["error", {"name": "err"}], "xo/explicit-length-check": "error", "xo/filename-case": ["error", {"case": "kebabCase"}], "xo/no-abusive-eslint-disable": "error", "xo/no-process-exit": "error", "xo/throw-new-error": "error" } } } ``` ## Rules - [catch-error-name](docs/rules/catch-error-name.md) - Enforce a specific parameter name in catch clauses. - [explicit-length-check](docs/rules/explicit-length-check.md) - Enforce explicitly comparing the `length` property of a value. - [filename-case](docs/rules/filename-case.md) - Enforce a case style for filenames. - [no-abusive-eslint-disable](docs/rules/no-abusive-eslint-disable.md) - Enforce specifying rules to disable in `eslint-disable` comments. - [no-process-exit](docs/rules/no-process-exit.md) - Disallow `process.exit()`. - [throw-new-error](docs/rules/throw-new-error.md) - Require `new` when throwing an error. *(fixable)* ## Recommended config This plugin exports a [`recommended` config](index.js) that enforces good practices. Enable it in your `package.json` with the `extends` option: ```json { "name": "my-awesome-project", "eslintConfig": { "plugins": [ "xo" ], "extends": "plugin:xo/recommended" } } ``` See the [ESLint docs](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) for more information about extending config files. **Note**: This config will also enable the correct [parser options](http://eslint.org/docs/user-guide/configuring#specifying-parser-options) and [environment](http://eslint.org/docs/user-guide/configuring#specifying-environments). ## Created by - [Sindre Sorhus](https://github.com/sindresorhus) - [James Talmage](https://github.com/jamestalmage) - [Jeroen Engels](https://github.com/jfmengels) - [Contributors…](https://github.com/sindresorhus/eslint-plugin-xo/graphs/contributors) ## License MIT © [Sindre Sorhus](https://sindresorhus.com)


نیازمندی

مقدار نام
^4.1.1 lodash.camelcase
^4.0.1 lodash.kebabcase
^4.0.1 lodash.snakecase
^4.2.0 lodash.upperfirst
^0.1.0 req-all


زبان مورد نیاز

مقدار نام
4.5.0 Npm


نحوه نصب


نصب پکیج tgz eslint-plugin-xo-1.0.0:

    npm install eslint-plugin-xo-1.0.0.tgz