pineapple-modules/MACInfo/tslint.json

80 lines
2.1 KiB
JSON
Raw Normal View History

Port MACInfo module (#40) * First commit, add module folder * Added spinner and allowed input of full mac * CheckMAC online function ( non working ) * reverted change to build script * Added working check online * Added more info output to lookup online * Added beginning of tabs function * removed modified build script * MACInfo: fix selectors, fix resource URL paths, fix API import path * Removed online button from offline tab and other way around * Fixed space being registered in lookup * Fixed spinner CSS * Changed looks of box * removed spinners * Fixed spelling and removed unneeded titling * macinfo: Fix layout * Added compatibility with windows naming scheme * Added breakline for text * Regex to check for valid MAC address, going to work on showing as proper error * Added regex check for offline * removed second build file * Bold fonts for result category * Added error if no valid MAC adress was inputted * Specified types for variables and checked for valid mac before file open for speed * Removed unused onstart due to the dir automaticlly being created anyways * Class rename * Fix regex check for offline and online mac * Opened json file on start instead of on request * misc: Re-run checks * Fix regex lookup * Added web icon or online * added desktop icon for offline mode * Fixed icons completely. * Fix invalid module error handling in API * Fix regex check * Update module icon * removed unused icons. Co-authored-by: Marc <foxtrot@malloc.me> Co-authored-by: Theodor Johanson <theo@pc.localdomain>
2021-07-09 21:55:26 +00:00
{
"extends": "tslint:recommended",
"rulesDirectory": [
"codelyzer"
],
"rules": {
"array-type": false,
"arrow-parens": false,
"deprecation": {
"severity": "warning"
},
"import-blacklist": [
true,
"rxjs/Rx"
],
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [
true,
140
],
"member-access": false,
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"no-consecutive-blank-lines": false,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-empty": false,
"no-inferrable-types": [
true,
"ignore-params"
],
"no-non-null-assertion": true,
"no-redundant-jsdoc": true,
"no-switch-case-fall-through": true,
"no-var-requires": false,
"object-literal-key-quotes": [
true,
"as-needed"
],
"object-literal-sort-keys": false,
"ordered-imports": false,
"quotemark": [
true,
"single"
],
"trailing-comma": false,
"component-class-suffix": true,
"contextual-lifecycle": true,
"directive-class-suffix": true,
"no-conflicting-lifecycle": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-inputs-metadata-property": true,
"no-output-native": true,
"no-output-on-prefix": true,
"no-output-rename": true,
"no-outputs-metadata-property": true,
"template-banana-in-box": true,
"template-no-negated-async": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true
}
}