Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MatanYadaev committed Aug 16, 2023
1 parent 3bf6566 commit ce9f30e
Showing 1 changed file with 73 additions and 1 deletion.
74 changes: 73 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,73 @@
@TODO
## eslint-plugin-testing

![npm](https://img.shields.io/npm/v/eslint-plugin-testing)
[![ci](https://github.com/MatanYadaev/eslint-plugin-testing/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/MatanYadaev/eslint-plugin-testing/actions/workflows/ci.yaml)

ESLint plugin for testing.

### Installation

1. First, install [ESLint](https://eslint.org/):

```sh
npm install --save-dev eslint
```

2. Next, install `eslint-plugin-testing`:

```sh
npm install --save-dev eslint-plugin-testing
```

### Usage

Add `testing` to the plugins section of your `.eslintrc` configuration file:

```json
{
"plugins": ["testing"]
}
```

Then configure the rules you want to use under the rules section.

```json
{
"rules": {
"testing/aaa-comments": "error"
}
}
```

#### Recommended

To use the recommended configuration, extend it in your `.eslintrc` file:

```json
{
"extends": ["plugin:testing/recommended"]
}
```

All recommend rules will be set to error by default. You can however disable some rules by setting turning them `off` in your `.eslintrc` file or by setting them to `warn` in your `.eslintrc`.

#### all

To use the all configuration, extend it in your `.eslintrc` file:

```json
{
"extends": ["plugin:testing/all"]
}
```

### Rules

<!-- begin auto-generated rules list -->
<!-- end auto-generated rules list -->

### Licence

[MIT](https://github.com/MatanYadaev/eslint-plugin-testing/blob/main/LICENSE)

Copyright &copy; 2023-present, Matan Yadaev

0 comments on commit ce9f30e

Please sign in to comment.