Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
durant42040 committed Aug 27, 2024
1 parent 9f3c87f commit b1dd4e9
Show file tree
Hide file tree
Showing 12 changed files with 1,993 additions and 791 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

# Install your linters here
- name: Install ESlint
run: cd client && npm init @eslint/config && npm ci
run: cd client && npm ci

- name: Run linters
uses: wearerequired/lint-action@v2
Expand Down
37 changes: 37 additions & 0 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
env: {
browser: true,
es2021: true
},
extends: [
'standard',
'plugin:react/recommended'
],
overrides: [
{
env: {
node: true
},
files: [
'.eslintrc.{js,cjs}'
],
parserOptions: {
sourceType: 'script'
}
}
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
},
plugins: [
'react'
],
settings: {
react: {
version: 'detect'
}
},
rules: {
}
}
Loading

0 comments on commit b1dd4e9

Please sign in to comment.