Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-12-07 22:56:13 +0300
committerdartcafe <github@dartcafe.de>2020-12-07 22:56:13 +0300
commitf4c5728262976c613469e46a6408f5f27d28942c (patch)
treee3f97c7bb0773649a0dcc48797b7b028b9810e28 /.eslintrc.js
parentc3d1448fe5f6edf26ec5fe8b01b652d6959b9153 (diff)
formatting
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 19f3735f..e479798c 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -13,7 +13,7 @@ module.exports = {
OCA: true,
Vue: true,
VueRouter: true,
- moment:true,
+ moment: true,
},
parserOptions: {
parser: 'babel-eslint',
@@ -32,12 +32,12 @@ module.exports = {
'node',
],
rules: {
- "@nextcloud/no-deprecations": "warn",
- "@nextcloud/no-removed-apis": "error",
+ '@nextcloud/no-deprecations': 'warn',
+ '@nextcloud/no-removed-apis': 'error',
'node/no-missing-import': ['error', {
- 'allowModules': [],
- 'tryExtensions': ['.js', '.vue']
- }],
+ allowModules: [],
+ tryExtensions: ['.js', '.vue'],
+ }],
'comma-dangle': ['error', 'always-multiline'],
// space before function ()
'space-before-function-paren': ['error', 'never'],
@@ -63,17 +63,17 @@ module.exports = {
'node/no-unpublished-require': ['off'],
'node/no-unsupported-features/es-syntax': ['off'],
// kebab case components for vuejs
- 'vue/component-name-in-template-casing': ['error', 'PascalCase' , {
- 'registeredComponentsOnly': true,
- 'ignores': []
- }],
+ 'vue/component-name-in-template-casing': ['error', 'PascalCase', {
+ registeredComponentsOnly: true,
+ ignores: [],
+ }],
// space before self-closing elements
'vue/html-closing-bracket-spacing': 'error',
// code spacing with attributes
// newline before closing bracket
'vue/html-closing-bracket-newline': ['error', {
- 'singleline': 'never',
- 'multiline': 'never'
+ singleline: 'never',
+ multiline: 'never',
}],
'vue/max-attributes-per-line': [
'error',
@@ -81,9 +81,9 @@ module.exports = {
singleline: 3,
multiline: {
max: 3,
- allowFirstLine: true
- }
- }
- ]
- }
+ allowFirstLine: true,
+ },
+ },
+ ],
+ },
}