Skip to content

Commit 5d502ad

Browse files
authored
docs(README): update README
1 parent 5eff22a commit 5d502ad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# eslint-plugin-actions
22
[![npm](https://img.shields.io/npm/v/eslint-plugin-actions.svg)](https://www.npmjs.com/package/eslint-plugin-actions)
33
[![CI](https://github.com/ylemkimon/eslint-plugin-actions/workflows/CI/badge.svg?branch=master&event=push)](https://github.com/ylemkimon/eslint-plugin-actions/actions?query=workflow%3ACI)
4+
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
45

56
Lint JS inside GitHub Actions workflow
67

78

89
## Installation
910

10-
You'll first need to install [ESLint](http://eslint.org) 6 or greater:
11+
You'll first need to install [ESLint](http://eslint.org) 6.7 or greater:
1112
```
1213
$ npm i eslint --save-dev
1314
$ yarn add -D eslint
@@ -53,10 +54,11 @@ The autofixing (`--fix`) is supported, but it's still experimental and whitespac
5354

5455
Dotfiles are ignored by ESLint by default. To lint files inside `.github`, you'll need to add `!.github` to
5556
`.eslintignore` file or `ignorePatterns` of your configuration file. In ESLint v6, all files having extensions
56-
specified by `--ext` option are included. To exclude non-workflow YAML files, add `*.yml`, `*.yaml`, and
57+
specified by `--ext` option are included, so to exclude non-workflow YAML files, add `*.yml`, `*.yaml`, and
5758
`!/.github/workflows/*.{yml,yaml}`:
58-
```
59+
```gitignore
5960
!/.github
61+
# only for ESLint v6:
6062
*.yml
6163
*.yaml
6264
!/.github/workflows/*.yml

0 commit comments

Comments
 (0)