mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
27 lines
571 B
JavaScript
27 lines
571 B
JavaScript
module.exports = {
|
|
env: {
|
|
es6: true,
|
|
node: true,
|
|
'jest/globals': true
|
|
},
|
|
parserOptions: {
|
|
parser: 'babel-eslint'
|
|
},
|
|
extends: [
|
|
'standard',
|
|
'plugin:vue/recommended',
|
|
'plugin:prettier/recommended'
|
|
],
|
|
plugins: [
|
|
'jest'
|
|
],
|
|
rules: {
|
|
'indent': [ 'error', 2 ],
|
|
'quotes': [ "error", "single"],
|
|
// 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
'no-console': ['error'],
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
'prettier/prettier': ['error'],
|
|
},
|
|
};
|