Skip to content

Commit

Permalink
chore: upgrade eslint babel parser (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoneb authored Jan 3, 2022
1 parent 927ef69 commit 0b3b32e
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 17,045 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"root": true,
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"extends": [
"eslint:recommended",
"plugin:import/recommended",
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci
node-version-file: '.nvmrc'
- run: npm i
- run: npm run lint
- run: npm test -- --coverage
- run: bash <(curl -s https://codecov.io/bash)

automerge:
needs: build
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ coverage
npm-debug.log*
*.test.ts*
*.test.ssr.ts*
package-lock.json
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm i
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
Loading

0 comments on commit 0b3b32e

Please sign in to comment.