SymphonyElectron/tslint.json
Vishwas Shashidhar 198d891c94
feat: SDA-2456: add screen annotate tool (#1103)
* SDA-2456: snipping tool component

- Create a react component
- Stylise the component
- Add functionality to open a new window
- Add event against the `Done` button and upload snippet

* SDA-2456: snipping annotate tool

- Added icons for undo, redo & clear
- Made the snipping tool window & the image container dynamic

* SDA-2456: make image dynamic

* SDA-2456: add snapshot tests

* SDA-2456: add the height & width properties to the image container

* SDA-2456: update snipping tool snapshot

* SDA-2456: add support for button selected border

* SDA-2456: close existing annotate window

* SDA-2456 Changed from class to functional component

* SDA-2456: remove outdated tests

* SDA-2456: fix image dimension issue

* SDA-2456: address PR comments by Kiran

Co-authored-by: psjostrom <per.sjostrom@symphony.com>
2020-11-06 12:13:29 +05:30

77 lines
1.5 KiB
JSON

{
"extends": [
"tslint:recommended"
],
"linterOptions": {
"exclude": [
"**/*.json"
]
},
"rules": {
"curly": true,
"eofline": true,
"align": [
true,
"parameters"
],
"class-name": true,
"indent": [
true,
"spaces"
],
"max-line-length": [
true,
650
],
"no-trailing-whitespace": true,
"no-duplicate-variable": true,
"no-var-keyword": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"no-empty": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-requires": true,
"only-arrow-functions": true,
"object-literal-sort-keys": false,
"no-console": [
true,
"log",
"error"
],
"one-line": [
true,
"check-else",
"check-whitespace",
"check-open-brace"
],
"quotemark": [
true,
"single",
"avoid-escape"
],
"semicolon": [
true,
"always"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-type",
"check-module"
],
"completed-docs": [true, "functions", "methods"]
}
}