Skip to content

Commit

Permalink
chore: fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
mdreizin committed Jan 15, 2022
1 parent 2bcf6b1 commit 78ac08c
Show file tree
Hide file tree
Showing 4 changed files with 331 additions and 350 deletions.
6 changes: 4 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"root": true,
"extends": ["eslint:recommended", "plugin:markdown/recommended"],
"plugins": ["babel"],
"env": {
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"babelOptions": {
"configFile": true
}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Release
if: github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest'
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest'
run: yarn release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"gatsby-plugin"
],
"dependencies": {
"@babel/runtime": "^7.16.3",
"@babel/runtime": "^7.16.7",
"generate-robotstxt": "^8.0.3"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.7",
"@babel/eslint-parser": "^7.16.5",
"@babel/plugin-transform-runtime": "^7.16.8",
"@babel/preset-env": "^7.16.8",
"babel-eslint": "^10.1.0",
"eslint": "^8.6.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-markdown": "^2.2.1",
"jest": "^27.3.1",
"memfs": "^3.3.0",
Expand All @@ -53,6 +53,8 @@
"collectCoverage": true
},
"release": {
"branches": ["main"]
"branches": [
"main"
]
}
}
Loading

0 comments on commit 78ac08c

Please sign in to comment.