Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/distributive-network/eslint-plugin
ESLint plugin to enforce brace styles according to the Distributive style guide.
https://github.com/distributive-network/eslint-plugin
eslint eslint-plugin eslintplugin
Last synced: about 1 month ago
JSON representation
ESLint plugin to enforce brace styles according to the Distributive style guide.
- Host: GitHub
- URL: https://github.com/distributive-network/eslint-plugin
- Owner: Distributive-Network
- License: mit
- Created: 2023-06-26T14:40:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-17T19:50:44.000Z (7 months ago)
- Last Synced: 2024-11-10T05:24:52.316Z (about 1 month ago)
- Topics: eslint, eslint-plugin, eslintplugin
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@distributive/eslint-plugin
- Size: 390 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @distributive/eslint-plugin
[![npm version of the package][npm-version-img]][npm-version-url]
[![CI status][ci-status-img]][ci-status-url]
[![standard-readme compliant][standard-readme-img]][standard-readme-url]An ESLint rule to enforce brace styles according to the Distributive style
guide.## Table of Contents
- [Install](#install)
- [Usage](#usage)
- [Rules](#rules)
- [Contributing](#contributing)
- [License](#license)## Install
```console
npm add --save-dev eslint @distributive/eslint-plugin
```## Usage
You can extend from the plugin's recommended configuration:
```javascript
module.exports = {
extends: [
'plugin:@distributive/recommended',
],
};
```Or, add `@distributive` to the plugins section of your `.eslintrc`
configuration file and configure the rules you want to use under the rules
section:```javascript
module.exports = {
plugins: [
'@distributive',
],
rules: {
'@distributive/brace-style': 'error',
},
};
```## Rules
💼 Configurations enabled in.\
✅ Set in the `recommended` configuration.\
🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).| Name       | Description | 💼 | 🔧 |
| :--------------------------------------- | :------------------------------------------------------------------- | :- | :- |
| [brace-style](docs/rules/brace-style.md) | Enforce bracing styles in accordance to the Distributive style guide | ✅ | 🔧 |## Contributing
PRs accepted.
Small note: If editing the README, please conform to the
[standard-readme](https://github.com/RichardLitt/standard-readme) specification.## License
MIT © 2023 Distributive Corp.
[npm-version-img]: https://img.shields.io/npm/v/%40distributive/eslint-plugin
[npm-version-url]: https://www.npmjs.com/package/@distributive/eslint-plugin
[ci-status-img]:
https://github.com/Distributive-Network/eslint-plugin/actions/workflows/main.yml/badge.svg
[ci-status-url]:
https://github.com/Distributive-Network/eslint-plugin/actions
[standard-readme-img]:
https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square
[standard-readme-url]: https://github.com/RichardLitt/standard-readme