Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v20.0.0 #127

Merged
merged 6 commits into from
Jan 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .config/husky/.gitignore

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
if: ${{ !contains(github.head_ref, 'all-contributors') }}
strategy:
matrix:
node: [10, 12, 14, 16]
node: [12.22.0, 12, 14.17.0, 14, 16.0.0, 16]
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/[email protected].1

- name: ⬇️ Checkout repo
uses: actions/checkout@v2
Expand Down Expand Up @@ -50,15 +50,15 @@ jobs:
github.ref) && github.event_name == 'push' }}
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/[email protected].1

- name: ⬇️ Checkout repo
uses: actions/checkout@v2

- name: ⎔ Setup node
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
Expand All @@ -68,7 +68,7 @@ jobs:
- name: 🚀 Release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 17
semantic_version: 18
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
Expand Down
21 changes: 4 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,30 +96,17 @@ for it.

### Things to know

- The default config uses `@babel/eslint-parser` to support stage features that
ESLint doesn't support and it opts to use the `@babel/eslint-plugin` rules
over the ESLint rules to support rules for these features as well.
- All plugins needed for rules used by these configs are dependencies of this
module so you don't have to install anything on your own.
- The default config actually is composed of several configurations and you can
use those individually. These are the configs it's using:
`possible-errors.js`, `best-practices.js`, `stylistic.js`, `es6/index.js`, and
`import/index.js`. You can use each of these configs yourself if you want to
leave my own personal style out of it. Also, the `es6` and `import` configs
each have a `possible-errors.js`, `best-practices.js`, and `stylistic.js`
which they are composed of as well.
use those individually. You can use each of these configs yourself if you want
to leave my own personal style out of it.

#### Example of highly customized config
#### Example of customized config

```javascript
module.exports = {
extends: [
'kentcdodds/possible-errors',
'kentcdodds/best-practices',
'kentcdodds/es6/possible-errors',
'kentcdodds/import',
'kentcdodds/jest',
],
extends: ['kentcdodds/import', 'kentcdodds/jest'],
rules: {
/* custom rules */
},
Expand Down
218 changes: 0 additions & 218 deletions best-practices.js

This file was deleted.

30 changes: 0 additions & 30 deletions deprecated-rules.js

This file was deleted.

37 changes: 0 additions & 37 deletions es6/best-practices.js

This file was deleted.

9 changes: 0 additions & 9 deletions es6/index.js

This file was deleted.

Loading