Dany 137526e5d4 New sample react-list-form (#373)
* Initial commit

* Create LICENSE

* readme updated

* Major extensions (more web part properties, field ordering, adding, refactoring list form rendering...)

* Updated to newest version of packages / support display field User & Lookup

* Refactored rendering of SPFormField / support more field types / Check fro local environment and notify user / Added ConfigureWebPart / Introduced showSupportedFields option

* Removed unused imports

* Use of resource strings for localization / ListForm component now not relying on web part context (just spHttpClient) / added comments / fixed bug where old values were still shown after switching to other form type or item / Moved date picer strings to localized resources

* Fixed bug where fields would not clear when switching formtype or id

* Updated Readme and added overview clip gif
2017-12-01 16:45:08 +02:00

45 lines
1.6 KiB
JSON

{
"$schema": "https://dev.office.com/json-schemas/core-build/tslint.schema.json",
// Display errors as warnings
"displayAsWarning": true,
// The TSLint task may have been configured with several custom lint rules
// before this config file is read (for example lint rules from the tslint-microsoft-contrib
// project). If true, this flag will deactivate any of these rules.
"removeExistingRules": true,
// When true, the TSLint task is configured with some default TSLint "rules.":
"useDefaultConfigAsBase": false,
// Since removeExistingRules=true and useDefaultConfigAsBase=false, there will be no lint rules
// which are active, other than the list of rules below.
"lintConfig": {
// Opt-in to Lint rules which help to eliminate bugs in JavaScript
"rules": {
"class-name": false,
"export-name": false,
"forin": false,
"label-position": false,
"member-access": true,
"no-arg": false,
"no-console": false,
"no-construct": false,
"no-duplicate-case": true,
"no-duplicate-variable": true,
"no-eval": false,
"no-function-expression": true,
"no-internal-module": true,
"no-shadowed-variable": true,
"no-switch-case-fall-through": true,
"no-unnecessary-semicolons": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-with-statement": true,
"semicolon": true,
"trailing-comma": false,
"typedef": false,
"typedef-whitespace": false,
"use-named-parameter": true,
"valid-typeof": true,
"variable-name": false,
"whitespace": false
}
}
}