mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-04 15:21:05 +01:00
29 lines
531 B
JavaScript
29 lines
531 B
JavaScript
|
module.exports = {
|
||
|
root: true,
|
||
|
env: {
|
||
|
node: true,
|
||
|
},
|
||
|
extends: [
|
||
|
'plugin:vue/essential',
|
||
|
'@vue/airbnb',
|
||
|
],
|
||
|
parserOptions: {
|
||
|
parser: 'babel-eslint',
|
||
|
},
|
||
|
rules: {
|
||
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||
|
},
|
||
|
overrides: [
|
||
|
{
|
||
|
files: [
|
||
|
'**/__tests__/*.{j,t}s?(x)',
|
||
|
'**/tests/unit/**/*.spec.{j,t}s?(x)',
|
||
|
],
|
||
|
env: {
|
||
|
mocha: true,
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
};
|