Skip to content

Commit

Permalink
scope:
Browse files Browse the repository at this point in the history
- implement ESlinter
  • Loading branch information
RockStar268 committed Apr 3, 2024
1 parent 39538dc commit 480e34f
Show file tree
Hide file tree
Showing 10 changed files with 1,776 additions and 46 deletions.
33 changes: 33 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
{
"env": {
"node": true
},
"files": [
".eslintrc.{js,cjs}"
],
"parserOptions": {
"sourceType": "script"
}
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ npm install

To run the tests in this repo, open your terminal in your IDE and run the following command:
npm test

To run ESLint:
npx eslint . --ext .js,.ts
Loading

0 comments on commit 480e34f

Please sign in to comment.