mirror of
https://github.com/Dannecron/ich-lerne-deutsch.git
synced 2025-12-25 12:52:35 +03:00
28 lines
700 B
JavaScript
28 lines
700 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true
|
|
},
|
|
'extends': [
|
|
'plugin:vue/essential',
|
|
'eslint:recommended',
|
|
'airbnb'
|
|
],
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
'indent': ['error', 4, { 'SwitchCase': 1 }],
|
|
'max-len': ['error', { 'code': 120 }],
|
|
'class-methods-use-this': 'off',
|
|
'object-curly-newline': ['error', { 'consistent': true }],
|
|
'comma-dangle': ['error', {
|
|
'functions': 'never',
|
|
'arrays': 'always-multiline',
|
|
'objects': 'always-multiline'
|
|
}]
|
|
},
|
|
parserOptions: {
|
|
parser: 'babel-eslint'
|
|
}
|
|
}
|