2021-08-02 18:09:54 +01:00
|
|
|
// Copyright (C) 2021 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
},
|
2021-08-04 11:26:43 +01:00
|
|
|
extends: [
|
2021-08-02 18:09:54 +01:00
|
|
|
'plugin:vue/essential',
|
|
|
|
'eslint:recommended',
|
|
|
|
'@vue/typescript/recommended',
|
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2020
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
|
|
|
|
|
"indent": ["error", 4],
|
2021-08-04 11:26:43 +01:00
|
|
|
|
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
"error", {
|
|
|
|
"vars": "all",
|
|
|
|
"args": "all",
|
|
|
|
"argsIgnorePattern": "^_"
|
|
|
|
}],
|
|
|
|
|
|
|
|
'@typescript-eslint/no-empty-function': "off",
|
|
|
|
'@typescript-eslint/no-var-requires': "off",
|
2021-08-02 18:09:54 +01:00
|
|
|
},
|
|
|
|
}
|