معرفی شرکت ها


eslint-plugin-local-rules-1.3.2


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

A plugin for ESLint that allows you to use project-specific rules
ویژگی مقدار
سیستم عامل -
نام فایل eslint-plugin-local-rules-1.3.2
نام eslint-plugin-local-rules
نسخه کتابخانه 1.3.2
نگهدارنده ['cletusw']
ایمیل نگهدارنده ['cletusw@gmail.com']
نویسنده Clayton Watts
ایمیل نویسنده cletusw@gmail.com
آدرس صفحه اصلی git+https://github.com/cletusw/eslint-plugin-local-rules.git
آدرس اینترنتی https://github.com/cletusw/eslint-plugin-local-rules#readme
مجوز MIT
# eslint-plugin-local-rules A plugin for ESLint that allows you to use project-specific rules, similar to the [`--rulesdir`](http://eslint.org/docs/user-guide/command-line-interface#--rulesdir) command line option ([more](http://eslint.org/docs/developer-guide/working-with-rules#runtime-rules)). Workaround for https://github.com/eslint/eslint/issues/8769 (previously https://github.com/eslint/eslint/issues/2715). ## Other solutions - https://github.com/taskworld/eslint-plugin-local - Allows specifying additonal plugin config such as [`processors`](https://eslint.org/docs/developer-guide/working-with-plugins#processors-in-plugins) - https://github.com/not-an-aardvark/eslint-plugin-rulesdir - Allows for a custom rules directory name ## Dependencies - Requires ESLint version 0.8.0 or higher ## Install ``` npm install eslint-plugin-local-rules ``` ## Usage ### ./eslint-local-rules.js (or ./eslint-local-rules/index.js) ```javascript 'use strict'; module.exports = { 'disallow-identifiers': { meta: { docs: { description: 'disallow identifiers', category: 'Possible Errors', recommended: false, }, schema: [], }, create: function (context) { return { Identifier: function (node) { context.report({ node: node, message: 'Identifiers not allowed for Super Important reasons.', }); }, }; }, }, }; ``` ### ./.eslintrc ```json { "plugins": ["eslint-plugin-local-rules"], "rules": { "local-rules/disallow-identifiers": 2 } } ``` ## License MIT


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

مقدار نام
16.17.0 Npm


نحوه نصب


نصب پکیج tgz eslint-plugin-local-rules-1.3.2:

    npm install eslint-plugin-local-rules-1.3.2.tgz