-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
- Loading branch information
1 parent
cdd6696
commit f31a57c
Showing
10 changed files
with
1,797 additions
and
665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,3 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true, | ||
jest: true | ||
}, | ||
globals: { | ||
t: true, | ||
n: true, | ||
OC: true, | ||
OCA: true, | ||
Vue: true | ||
}, | ||
parserOptions: { | ||
parser: 'babel-eslint', | ||
ecmaVersion: 6 | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:node/recommended', | ||
'plugin:vue/essential', | ||
'plugin:vue/recommended', | ||
'standard' | ||
], | ||
plugins: ['vue', 'node'], | ||
rules: { | ||
// space before function () | ||
'space-before-function-paren': ['error', 'never'], | ||
// curly braces always space | ||
'object-curly-spacing': ['error', 'always'], | ||
// stay consistent with array brackets | ||
'array-bracket-newline': ['error', 'consistent'], | ||
// 1tbs brace style | ||
'brace-style': 'error', | ||
// tabs only | ||
indent: ['error', 'tab'], | ||
'no-tabs': 0, | ||
'vue/html-indent': ['error', 'tab'], | ||
// only debug console | ||
'no-console': ['error', { allow: ['error', 'warn', 'debug'] }], | ||
// classes blocks | ||
'padded-blocks': ['error', { classes: 'always' }], | ||
// always have the operator in front | ||
'operator-linebreak': ['error', 'before'], | ||
// ternary on multiline | ||
'multiline-ternary': ['error', 'always-multiline'], | ||
// es6 import/export and require | ||
'node/no-unpublished-require': ['off'], | ||
'node/no-unsupported-features/es-syntax': ['off'], | ||
// space before self-closing elements | ||
'vue/html-closing-bracket-spacing': 'error', | ||
// code spacing with attributes | ||
'vue/max-attributes-per-line': [ | ||
'error', | ||
{ | ||
singleline: 3, | ||
multiline: { | ||
max: 3, | ||
allowFirstLine: true | ||
} | ||
} | ||
] | ||
} | ||
extends: ['nextcloud'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
document.addEventListener('DOMContentLoaded', function() { | ||
window.OCP.Loader.loadScript('firstrunwizard', 'firstrunwizard.js').then(function() { | ||
OCA.FirstRunWizard.open(); | ||
OCA.FirstRunWizard.open(true); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.