Skip to content

Commit

Permalink
added additional eslint features, created new workflow for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
IkeHunter committed Jan 27, 2024
1 parent 0919220 commit 2a5e1c8
Show file tree
Hide file tree
Showing 19 changed files with 3,473 additions and 1,114 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ module.exports = {
'prefer-arrow-functions/prefer-arrow-functions': [
'warn',
{
// allowNamedFunctions: false,
// classPropertiesAllowed: false,
// disallowPrototype: false,
allowNamedFunctions: false,
classPropertiesAllowed: false,
disallowPrototype: false,
returnStyle: 'unchanged',
// singleReturnOnly: false
singleReturnOnly: false
}
]
}
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/code-linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check Linting Status

on:
push:
branches:
- 'feature/**'
- 'main'

jobs:
eslint-check:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Eslint
run: npm run lint


Loading

0 comments on commit 2a5e1c8

Please sign in to comment.