diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2019-09-23 16:06:26 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-09-23 17:16:27 +0300 |
commit | d4e0c9eda1253d6f0c4739692d800d3054f33b03 (patch) | |
tree | 1e654ad60d31a394259e3d2dd5b8817fd227c222 /.eslintrc.js | |
parent | 37ae48d50c88f9f71835450cd1e6016b890820eb (diff) |
Bump eslint-plugin-node from 9.2.0 to 10.0.0
Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) from 9.2.0 to 10.0.0.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases)
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v9.2.0...v10.0.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 9734a0e..de2b77c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -44,8 +44,7 @@ module.exports = { }, plugins: ['vue', 'node'], rules: { - "no-control-regex": 0, - + 'no-control-regex': 0, // space before function () 'space-before-function-paren': ['error', 'never'], // curly braces always space @@ -68,11 +67,11 @@ module.exports = { 'multiline-ternary': ['error', 'always-multiline'], // force proper JSDocs 'valid-jsdoc': [2, { - 'prefer': { - 'return': 'returns' + prefer: { + return: 'returns' }, - 'requireReturn': false, - 'requireReturnDescription': false + requireReturn: false, + requireReturnDescription: false }], // es6 import/export and require 'node/no-unpublished-require': ['off'], @@ -84,16 +83,16 @@ module.exports = { // no ending html tag on a new line 'vue/html-closing-bracket-newline': ['error', { multiline: 'never' }], // code spacing with attributes - 'vue/max-attributes-per-line': [ - 'error', - { - singleline: 3, - multiline: { - max: 3, - allowFirstLine: true - } + 'vue/max-attributes-per-line': ['error', { + singleline: 3, + multiline: { + max: 3, + allowFirstLine: true } - ], + }], + 'node/no-missing-import': ['error', { + tryExtensions: ['.js', '.vue'] + }], 'vue/no-v-html': ['off'] } } |