diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index e8d1d743..53c479e6 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -4,14 +4,11 @@ module.exports = { browser: true, node: true }, - parserOptions: { - parser: 'babel-eslint' - }, extends: [ '@nuxtjs', - 'plugin:nuxt/recommended' + 'plugin:nuxt/recommended', + '@nuxtjs/eslint-config-typescript' ], - // add your custom rules here rules: { 'no-console': 'off', 'no-restricted-syntax': [ @@ -22,6 +19,11 @@ module.exports = { } ], 'vue/valid-template-root': 'off', - 'space-before-function-paren': ['error', 'never'] + 'space-before-function-paren': ['error', 'never'], + 'no-useless-constructor': 'off', + '@typescript-eslint/no-useless-constructor': 'off', + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': 'off', + camelcase: 'off' } } diff --git a/frontend/components/containers/settings/ConfigList.vue b/frontend/components/containers/settings/ConfigList.vue index 37345c7e..17053271 100644 --- a/frontend/components/containers/settings/ConfigList.vue +++ b/frontend/components/containers/settings/ConfigList.vue @@ -1,14 +1,13 @@