Skip to content

Commit

Permalink
Use TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
richrace committed May 22, 2023
1 parent 250f692 commit 2bc63c9
Show file tree
Hide file tree
Showing 14 changed files with 939 additions and 1,844 deletions.
10 changes: 8 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "jest"],
"extends": ["eslint:recommended", "prettier", "plugin:jest/recommended"],
"plugins": ["@typescript-eslint", "jest", "prettier"],
"extends": [
"plugin:@typescript-eslint/recommended, plugin:prettier/recommended",
"plugin:jest/recommended"
],
"rules": {
"prettier/prettier": "error",
"arrow-body-style": "off",
"prefer-arrow-callback": "off",
"semi": "error"
}
}
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"semi": true,
"printWidth": 100
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="title">Arctis Monitor</h1>
</div>
</footer>
</div>
<script charset="utf-8" src="./src/renderer.js"></script>
<script charset="utf-8" src="./dist/renderer.js"></script>
</body>

</html>
Loading

0 comments on commit 2bc63c9

Please sign in to comment.