Skip to content

Commit 22265b4

Browse files
authored
Merge pull request #280 from form8ion/renovate/master-babel-eslint-replacement
2 parents 38e49e1 + 6ae8c72 commit 22265b4

File tree

8 files changed

+1475
-62
lines changed

8 files changed

+1475
-62
lines changed

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"presets":["@form8ion"]}

.github/workflows/node-ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Node.js CI
55
- master
66
- alpha
77
- beta
8-
- 'renovate/**'
8+
- renovate/**
99
pull_request:
1010
types:
1111
- opened
@@ -19,12 +19,12 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v2
2121
- name: Read .nvmrc
22-
run: 'echo ::set-output name=NVMRC::$(cat .nvmrc)'
22+
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
2323
id: nvm
2424
- name: Setup node
2525
uses: actions/setup-node@v2
2626
with:
27-
node-version: '${{ steps.nvm.outputs.NVMRC }}'
27+
node-version: ${{ steps.nvm.outputs.NVMRC }}
2828
- uses: bahmutov/npm-install@v1
2929
- run: npm test
3030
release:
@@ -33,15 +33,15 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v2
3535
- name: Read .nvmrc
36-
run: 'echo ::set-output name=NVMRC::$(cat .nvmrc)'
36+
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
3737
id: nvm
3838
- name: Setup node
3939
uses: actions/setup-node@v2
4040
with:
41-
node-version: '${{ steps.nvm.outputs.NVMRC }}'
41+
node-version: ${{ steps.nvm.outputs.NVMRC }}
4242
- uses: bahmutov/npm-install@v1
4343
- name: semantic-release
4444
run: npx semantic-release
4545
env:
46-
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
47-
NPM_TOKEN: '${{ secrets.NPM_PUBLISH_TOKEN }}'
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm test

.huskyrc.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
plugins: ['react-hooks'],
33

4-
parser: 'babel-eslint',
4+
parser: '@babel/eslint-parser',
55

66
env: {
77
browser: true

0 commit comments

Comments
 (0)