* add @angular/cli to the project * increase nodejs version -> 8.2.1 * add lerna * merge web and shared module * move electron module into packages as uhk-agent Electron agent functionality is not working * delete symlinker * convert private properties to public of component if used in html * revert uhk-message.component * fix component path * fix the correct name of the uhk-message.component.scss * building web and electron module * delete uhk-renderer package * handle device connect disconnect state * add privilege detection * fix set privilege functionality * turn back download keymap functionality * add bootstrap, select2 js and fix null pointer exception * turn back upload data to keyboard * fix send keymap * fix test-serializer * add missing package.json * merging * fix appveyor build * fix linting * turn back electron storage service * commit the missing electron-datastorage-repository * update node to 8.3.0 in .nvmrc and log node version in appveyor build * set exact version number in appveyor build * vertical align privilege and missing device components * set back node version to 8 in appveyor * move node-usb dependency from usb dir to root maybe it is fix the appveyor build * revert usb to root * fix electron builder script * fix electron builder script * turn off electron devtools * remove CTRL+U functionality * fix CTRL+o * fix lint error * turnoff store freeze * start process when got `Error: EPERM: operation not permitted` error * move files from root usb dir -> packages/usb
114 lines
2.4 KiB
JSON
114 lines
2.4 KiB
JSON
{
|
|
"rules": {
|
|
"member-ordering": [
|
|
true,
|
|
{
|
|
"order": [
|
|
"public-static-field",
|
|
"public-static-method",
|
|
"protected-static-field",
|
|
"protected-static-method",
|
|
"private-static-field",
|
|
"private-static-method",
|
|
"public-instance-field",
|
|
"protected-instance-field",
|
|
"private-instance-field",
|
|
"public-constructor",
|
|
"protected-constructor",
|
|
"private-constructor",
|
|
"public-instance-method",
|
|
"protected-instance-method",
|
|
"private-instance-method"
|
|
]
|
|
}
|
|
],
|
|
"no-internal-module": true,
|
|
"class-name": true,
|
|
"curly": true,
|
|
"no-construct": true,
|
|
"no-duplicate-variable": true,
|
|
"no-eval": true,
|
|
"no-shadowed-variable": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-unused-expression": true,
|
|
"no-use-before-declare": true,
|
|
"no-var-keyword": true,
|
|
"space-before-function-paren": false,
|
|
"import-spacing": true,
|
|
"prefer-const": true,
|
|
"arrow-parens": [
|
|
true,
|
|
"ban-single-arg-parens"
|
|
],
|
|
"radix": true,
|
|
"switch-default": true,
|
|
"triple-equals": true,
|
|
"eofline": true,
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"max-line-length": [
|
|
true,
|
|
130
|
|
],
|
|
"no-trailing-whitespace": true,
|
|
"trailing-comma": [
|
|
true,
|
|
{
|
|
"multiline": "never",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"align": [
|
|
true,
|
|
"parameters",
|
|
"arguments",
|
|
"statements"
|
|
],
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"no-consecutive-blank-lines": true,
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"single"
|
|
],
|
|
"semicolon": [
|
|
true,
|
|
"always"
|
|
],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-leading-underscore"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|