Skip to content

Commit

Permalink
Merge pull request #15 from RuggeroVisintin/Scrice994/issue12
Browse files Browse the repository at this point in the history
chore(eslint): add eslint
Scrice994 authored Dec 4, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 8c8514c + 2e6ef2d commit 2a223f9
Showing 3 changed files with 998 additions and 35 deletions.
15 changes: 15 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"env": {
"browser": true,
"es2021": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
}
1,010 changes: 977 additions & 33 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,8 @@
"scripts": {
"build": "npx tsc",
"clean": "npx tsc --build --clean",
"test": "jest"
"test": "jest",
"lint": "eslint . --ext .ts"
},
"repository": {
"type": "git",
@@ -29,11 +30,14 @@
"devDependencies": {
"@commitlint/config-conventional": "^18.4.3",
"@types/jest": "^29.5.10",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"commitlint": "^18.4.3",
"eslint": "^8.55.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2"
}
}
}

0 comments on commit 2a223f9

Please sign in to comment.