listmonk/frontend/.eslintrc.js
Kailash Nadh 4eabd967d8 Refactor update check.
- Switch away from GitHub releases API to a statically hosted custom
  JSON message to include richer data.
- Instead of checking 24 hours post-boot, check 15 mins later post boot
  and then every 24 hours.
- Add provision for messages to display on the admin dashboard to
  communicate important / urgent announcements.
  (Fingers crossed, this never has to be used!)
2024-10-13 16:59:52 +05:30

31 lines
764 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/singleline-html-element-content-newline': 'off',
'vue/max-len': ['error', {
code: 200,
template: 200,
comments: 200,
}],
},
};