Skip to content

Commit

Permalink
Merge pull request #11 from Marc-Lorenz/parcel-update
Browse files Browse the repository at this point in the history
Update parcel dependency and configure eslint for typescript
  • Loading branch information
FHellmann authored Jun 6, 2024
2 parents 425ddcd + e178c21 commit 0dcae05
Show file tree
Hide file tree
Showing 7 changed files with 11,044 additions and 12,458 deletions.
29 changes: 29 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
const globals = require("globals");

module.exports = {
env: {
browser: true,
},
globals: globals.browser,
plugins: [
"import",
"@typescript-eslint",
],
rules: {
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
"no-unused-vars": "off"
},
extends: [
"eslint:recommended",
"plugin:import/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
settings: {
"import/resolver": {
"typescript": true,
"node": true,
}
}
};
27 changes: 0 additions & 27 deletions eslint.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,6 @@ <h6>URL</h6>
</div>
</div>
</div>
<script src="/src/app.ts"></script>
<script src="/src/app.ts" type="module"></script>
</body>
</html>
Loading

0 comments on commit 0dcae05

Please sign in to comment.