Skip to content

Commit

Permalink
upgrade: initial pass at converting project into typescript.
Browse files Browse the repository at this point in the history
  • Loading branch information
alfg committed Jul 28, 2022
1 parent d80927a commit 28a3e2b
Show file tree
Hide file tree
Showing 27 changed files with 2,092 additions and 7,543 deletions.
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
> 1%
last 2 versions
not dead
8 changes: 2 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
module.exports = {
root: true,

env: {
node: true,
},

extends: [
'plugin:vue/essential',
'@vue/airbnb',
'@vue/typescript/recommended',
],

rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/multi-word-component-names': 'off',
'vue/no-mutating-props': 'off',
'vuejs-accessibility/media-has-caption': 'off',
},

parserOptions: {
parser: '@babel/eslint-parser',
ecmaVersion: 2020,
},

overrides: [
{
files: [
Expand Down
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
preset: '@vue/cli-plugin-unit-jest',
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
};
Loading

0 comments on commit 28a3e2b

Please sign in to comment.