Use new eslint-plugin-functional instead of tslint-immutable
This commit is contained in:
@ -3,11 +3,12 @@ import { CustomPropertiesAttributes } from "./custom-properties-attributes";
|
||||
import { CustomProperty, ICustomPropertyOptions } from "./custom-property";
|
||||
|
||||
export class CustomProperties extends XmlComponent {
|
||||
// tslint:disable-next-line:readonly-keyword
|
||||
// eslint-disable-next-line functional/prefer-readonly-type
|
||||
private nextId: number;
|
||||
// eslint-disable-next-line functional/prefer-readonly-type
|
||||
private readonly properties: CustomProperty[] = [];
|
||||
|
||||
public constructor(properties: ICustomPropertyOptions[]) {
|
||||
public constructor(properties: readonly ICustomPropertyOptions[]) {
|
||||
super("Properties");
|
||||
|
||||
this.root.push(
|
||||
|
Reference in New Issue
Block a user