1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-27 09:14:44 +01:00
Whalebird-desktop-client-ma.../.eslintrc.js

43 lines
1.1 KiB
JavaScript
Raw Normal View History

2018-03-07 14:28:48 +01:00
module.exports = {
root: true,
parser: 'vue-eslint-parser',
2018-03-07 14:28:48 +01:00
parserOptions: {
parser: '@typescript-eslint/parser',
2022-07-27 17:27:21 +02:00
sourceType: 'module',
ecmaVersion: 12
2018-03-07 14:28:48 +01:00
},
env: {
browser: true,
2022-07-27 17:27:21 +02:00
node: true,
es2021: true
2018-03-07 14:28:48 +01:00
},
2022-07-27 17:27:21 +02:00
extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', '@vue/typescript/recommended', 'prettier'],
2018-03-07 14:28:48 +01:00
globals: {
__static: true
},
2022-07-27 17:27:21 +02:00
plugins: ['@typescript-eslint', 'vue'],
rules: {
2018-03-07 14:28:48 +01:00
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
2019-04-20 06:39:26 +02:00
argsIgnorePattern: '^_'
}
],
2022-08-12 15:21:32 +02:00
'@typescript-eslint/no-explicit-any': 'off',
2019-04-20 06:39:26 +02:00
camelcase: 'off',
'@typescript-eslint/camelcase': 'off',
2022-08-14 15:19:27 +02:00
'space-before-function-paren': 'off',
2023-01-02 01:42:16 +01:00
'vue/multi-word-component-names': 'off',
'vue/attributes-order': 'off',
2023-01-29 09:42:10 +01:00
'vue/attribute-hyphenation': 'off',
'vue/no-v-html': 'off'
2018-03-07 14:28:48 +01:00
}
}