Skip to content

Commit

Permalink
Merge pull request #19 from lost-university/typescript
Browse files Browse the repository at this point in the history
Switch to using typescript
  • Loading branch information
StefanieJaeger authored Sep 21, 2023
2 parents 04d3031 + f0e3887 commit f902609
Show file tree
Hide file tree
Showing 18 changed files with 1,202 additions and 389 deletions.
18 changes: 18 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:vue/vue3-recommended',
],
plugins: ['@typescript-eslint'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: "@typescript-eslint/parser",
},
rules: {
'vue/multi-word-component-names': 'off',
'vuejs-accessibility/anchor-has-content': 'off',
'max-len': ['error', { "code": 120 }]
}
};
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
<script type="module" src="/src/main.ts"></script>
</body>

</html>
Loading

0 comments on commit f902609

Please sign in to comment.