mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
28 lines
637 B
JavaScript
28 lines
637 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
node: true
|
|
},
|
|
parserOptions: {
|
|
parser: 'babel-eslint'
|
|
},
|
|
extends: [
|
|
'plugin:vue/recommended',
|
|
'plugin:prettier/recommended'
|
|
],
|
|
// required to lint *.vue files
|
|
plugins: [
|
|
'vue',
|
|
'prettier'
|
|
],
|
|
// add your custom rules here
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
'vue/component-name-in-template-casing': ['error', 'kebab-case'],
|
|
'prettier/prettier': ['error'],
|
|
// 'newline-per-chained-call': [2]
|
|
}
|
|
}
|