mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 04:24:12 +00:00
e2a95a5ed4
* chore: per-domain logging * fix: lint * fix: revert cdn configuration disabling the access log * feat: more granular controls for logging * chore(cr): bump copyright year to 2022 * fix(cr): missing error_log level in the global config * fix(cr): `is-changed` indicators * chore(cr): newline at end of file + eslint enforcement * fix(cr): rows alignment when checkbox applies * fix(cr): don't use default computed values * fix: lint * chore: use new flag names to allow backward compatability * chore: global `access_log` should always be `off` * feat: migrate old logging to new * feat: option to turn on access_log and error_log on redirects * fix: update copyright year * fix: missing translation * fix(cr): migration from global `error_log` being empty * fix(cr): missing `return` * fix(cr): account for a `server` dictionary without `domain` * fix(cr): migrate previous `access_log` and `error_log` paths using the previous behavior * chore(cr): additional logging comment * feat(cr): disable error_log per domain * fix(logging): use default paths * fix(logging): retain the user values for error_log when toggling the log on/off * fix(bc): new params shouldn't be overridden
41 lines
971 B
JavaScript
41 lines
971 B
JavaScript
module.exports = {
|
|
env: {
|
|
'browser': true,
|
|
'node': true,
|
|
},
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:vue/recommended',
|
|
],
|
|
parserOptions: {
|
|
parser: '@babel/eslint-parser',
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
requireConfigFile: false,
|
|
},
|
|
rules: {
|
|
'linebreak-style': ['error', 'unix'],
|
|
semi: ['error', 'always'],
|
|
quotes: ['error', 'single'],
|
|
'comma-dangle': ['error', 'always-multiline'],
|
|
'vue/require-v-for-key': 0,
|
|
'vue/require-default-prop': 0,
|
|
'vue/no-v-html': 0,
|
|
'vue/max-attributes-per-line': 0,
|
|
'vue/html-indent': ['error', 4],
|
|
'vue/script-indent': ['error', 4, {
|
|
baseIndent: 1,
|
|
}],
|
|
'vue/no-unused-vars': 0,
|
|
'vue/html-self-closing': 0,
|
|
'vue/multi-word-component-names': 0,
|
|
'vue/no-reserved-component-names': 0,
|
|
'eol-last': ['error', 'always'],
|
|
},
|
|
globals: {
|
|
'describe': true,
|
|
'expect': true,
|
|
'it': true,
|
|
'test': true,
|
|
},
|
|
};
|