- Created Accordion web part with SPFx 1.4.1 framework. - Implemented dynamic loading of SharePoint lists and fields. - Added configuration options for title, content, and category fields. - Included support for multiple open sections and initial state settings. - Developed HTML sanitizer for rich text content. - Implemented accessible accordion UI with category grouping. - Added localization support for English and German languages. - Created necessary configuration files for deployment and asset management. - Added validation script to ensure project compliance with standards.
32 lines
813 B
JSON
32 lines
813 B
JSON
{
|
|
"extends": "@microsoft/sp-tslint-rules/base-tslint.json",
|
|
"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-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,
|
|
"variable-name": false,
|
|
"whitespace": false
|
|
}
|
|
}
|
|
|