mirror of
https://github.com/knadh/listmonk.git
synced 2024-11-10 09:02:36 +08:00
af8b420d53
- Upgrade eslint and fix a massive number (~2500!) of linting errors from new rules. - Upgrade babel core frontend dev dependency. - Upgrade UI lib and other frontend deps. - Refactor the Vue admin app to use `vite` instead of `webpack`. - This was an extremely tedious and painstaking, trial-and-error alchemy job. My disdain for the Javascript "ecosystem" grows. - Re-add custom admin appearance endpoints to the refactored Vue page. - Remove obsolete vue-cli config. - Re-auto-format all .vue files again to work with new linters.
30 lines
706 B
JavaScript
Vendored
30 lines
706 B
JavaScript
Vendored
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
// es2022: true,
|
|
},
|
|
plugins: ['vue'],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:vue/essential',
|
|
'plugin:vue/strongly-recommended',
|
|
'@vue/eslint-config-airbnb',
|
|
],
|
|
parser: 'vue-eslint-parser',
|
|
rules: {
|
|
'class-methods-use-this': 'off',
|
|
'vue/multi-word-component-names': 'off',
|
|
'vue/quote-props': 'off',
|
|
'vue/first-attribute-linebreak': 'off',
|
|
'vue/no-child-content': 'off',
|
|
'vue/max-attributes-per-line': 'off',
|
|
'vue/html-indent': 'off',
|
|
'vue/html-closing-bracket-newline': 'off',
|
|
'vue/max-len': ['error', {
|
|
code: 200,
|
|
template: 200,
|
|
comments: 200,
|
|
}],
|
|
},
|
|
};
|