File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
# eslint-plugin-optimize-regex
2
+ [ ![ npm] ( https://img.shields.io/npm/v/eslint-plugin-optimize-regex.svg )] ( https://www.npmjs.com/package/eslint-plugin-optimize-regex )
3
+ [ ![ npm] ( https://img.shields.io/npm/dt/eslint-plugin-optimize-regex.svg )] ( https://www.npmjs.com/package/eslint-plugin-optimize-regex )
2
4
3
- Optimize regex literals
5
+ > Optimize regex literals
4
6
5
7
## Installation
6
8
7
9
You'll first need to install [ ESLint] ( http://eslint.org ) :
8
10
9
11
```
10
- $ npm i eslint --save-dev
12
+ npm i eslint --save-dev
11
13
```
12
14
13
15
Next, install ` eslint-plugin-optimize-regex ` :
14
16
15
17
```
16
- $ npm install eslint-plugin-eslint-optimize-regex --save-dev
18
+ npm install eslint-plugin-eslint-optimize-regex --save-dev
17
19
```
18
20
19
21
** Note:** If you installed ESLint globally (using the ` -g ` flag) then you must also install ` eslint-plugin--optimize-regex ` globally.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-optimize-regex" ,
3
- "version" : " 0.1 .0" ,
3
+ "version" : " 1.0 .0" ,
4
4
"description" : " Optimize regex literals" ,
5
5
"repository" : " BrainMaestro/eslint-plugin-optimize-regex" ,
6
6
"keywords" : [
You can’t perform that action at this time.
0 commit comments