Skip to content

Commit

Permalink
Merge pull request #73 from TheCoderAdi/main
Browse files Browse the repository at this point in the history
Configure ESLint for Code Quality and added badge to readme.md
  • Loading branch information
DhanushNehru authored Oct 8, 2024
2 parents d730ade + 64fff32 commit 9c1f219
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
env:
browser: true
es2021: true
extends: eslint:recommended
parserOptions:
ecmaVersion: latest
rules: {}
15 changes: 15 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Lint

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npx eslint .
- name: Run Stylelint
run: npx stylelint "**/*.css"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ To run the project locally, you need a local server. Before that, make sure you

Ensure that the port number mentioned here matches the authorized JavaScript origins. If you have any doubts, refer to the [screenshots](https://github.com/DhanushNehru/board/pull/57) in the comments for additional assistance.

### Linting Status

![Linting Status](https://github.com/DhanushNehru/board/actions/workflows/lint.yml/badge.svg)

Clone the project & start contributing

Hey, I am Dhanush N,the maintainer of this opensource repository. You can connect with me and support or follow my work via [Twitter](https://twitter.com/Dhanush_Nehru) / [Instagram](https://www.instagram.com/dhanush_nehru/) / [Youtube](https://www.youtube.com/@dhanushnehru?sub_confirmation=1) / [Github](https://github.com/DhanushNehru) / [Newsletter](https://dhanushn.substack.com/) / [Discord](https://discord.com/invite/Yn9g6KuWyA)
Expand Down

0 comments on commit 9c1f219

Please sign in to comment.