mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
38 lines
1.1 KiB
JavaScript
38 lines
1.1 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: [
|
|
// 'plugin:vue/essential',
|
|
'plugin:vue/recommended',
|
|
'@vue/airbnb',
|
|
// 'prettier',
|
|
// 'plugin:prettier-vue/recommended',
|
|
// 'prettier/vue',
|
|
// 'prettier/@typescript-eslint',
|
|
// 'plugin:@typescript-eslint/recommended',
|
|
// '@vue/typescript',
|
|
// '@typescript-eslint',
|
|
'@vue/typescript/recommended',
|
|
'@vue/prettier',
|
|
'@vue/prettier/@typescript-eslint',
|
|
],
|
|
parser: 'vue-eslint-parser',
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser',
|
|
sourceType: 'module',
|
|
ecmaVersion: 2020,
|
|
},
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'class-methods-use-this': 0,
|
|
// disable eslint no-shadow as it's causing false positives on typescript enums
|
|
'no-shadow': 'off',
|
|
// '@typescript-eslint/no-shadow': 'error',
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
},
|
|
};
|