Skip to content

Commit

Permalink
github actions lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
luxplanjay committed Jan 31, 2022
1 parent 6a039ba commit f7b1784
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"lint:js": "eslint src/**/*.{js,jsx}"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 4 additions & 0 deletions src/components/App.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { Component } from 'react';

console.log(a);

export const App = () => {
return (
<div
Expand Down

0 comments on commit f7b1784

Please sign in to comment.