forked from nextcloud/contacts
-
Notifications
You must be signed in to change notification settings - Fork 0
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: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
- Loading branch information
Showing
363 changed files
with
14,682 additions
and
34,133 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"targets": { | ||
"browsers": ["> 1%", "last 2 versions", "not ie <= 11"] | ||
} | ||
} | ||
] | ||
] | ||
} |
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,16 +1,9 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
|
||
# Matches multiple files with brace expansion notation | ||
# Set default charset | ||
[*.{html,js,css}] | ||
indent_style = tab | ||
|
||
indent_size = 4 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true, | ||
jest: true | ||
}, | ||
globals: { | ||
t: false, | ||
n: false, | ||
OC: false, | ||
OCA: false | ||
}, | ||
parserOptions: { | ||
parser: 'babel-eslint' | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:node/recommended', | ||
'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, | ||
// es6 import/export and require | ||
'node/no-unpublished-require': ['off'], | ||
'node/no-unsupported-features': ['off'], | ||
// vue format | ||
'vue/html-indent': ['error', 'tab'], | ||
'vue/max-attributes-per-line': [ | ||
'error', | ||
{ | ||
singleline: 3, | ||
multiline: { | ||
max: 3, | ||
allowFirstLine: true | ||
} | ||
} | ||
] | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
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,9 +1,13 @@ | ||
node_modules | ||
build | ||
js/public | ||
js/vendor | ||
css/vendor | ||
css/style.css | ||
coverage | ||
npm-debug.log | ||
package-lock.json | ||
.DS_Store | ||
node_modules/ | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = {}; |
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,22 +1,22 @@ | ||
{ | ||
"extends": "stylelint-config-recommended-scss", | ||
"rules": { | ||
"indentation": "tab", | ||
"selector-type-no-unknown": null, | ||
"number-leading-zero": null, | ||
"rule-empty-line-before": ["always", { | ||
"ignore": ["after-comment", "inside-block"] | ||
}], | ||
"declaration-empty-line-before": ["never", { | ||
"ignore": ["after-declaration"] | ||
}], | ||
"comment-empty-line-before": null, | ||
"selector-type-case": null, | ||
"selector-list-comma-newline-after": null, | ||
"no-descending-specificity": null, | ||
"string-quotes": "single", | ||
}, | ||
"plugins": [ | ||
"stylelint-scss" | ||
] | ||
"extends": "stylelint-config-recommended-scss", | ||
"rules": { | ||
"indentation": "tab", | ||
"selector-type-no-unknown": null, | ||
"number-leading-zero": null, | ||
"rule-empty-line-before": ["always", { | ||
"ignore": ["after-comment", "inside-block"] | ||
}], | ||
"declaration-empty-line-before": ["never", { | ||
"ignore": ["after-declaration"] | ||
}], | ||
"comment-empty-line-before": null, | ||
"selector-type-case": null, | ||
"selector-list-comma-newline-after": null, | ||
"no-descending-specificity": null, | ||
"string-quotes": "single" | ||
}, | ||
"plugins": [ | ||
"stylelint-scss" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.