From 9b0fdf8f7dbf9553ac7a116c4db322fae98c9f33 Mon Sep 17 00:00:00 2001 From: Zama Khan Mohammed Date: Sun, 10 Feb 2019 18:09:55 -0600 Subject: [PATCH 1/5] docs(readme): add new rules as experimental --- README.md | 92 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 51 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index 63e9412cf..5186d7aa1 100644 --- a/README.md +++ b/README.md @@ -287,47 +287,57 @@ Below you can find a recommended configuration which is based on the [Angular St ## Rules Status -| Rule | Status | -| -------------------------------------- | :------------: | -| `banana-in-box` | Stable | -| `contextual-life-cycle` | Stable | -| `decorator-not-allowed` | Stable | -| `pipe-impure` | Stable | -| `templates-no-negated-async` | Stable | -| `no-attribute-parameter-decorator` | Stable | -| `no-forward-ref` | Stable | -| `no-input-prefix` | Stable | -| `no-input-rename` | Stable | -| `no-output-on-prefix` | Stable | -| `no-output-rename` | Stable | -| `use-life-cycle-interface` | Stable | -| `use-pipe-decorator` | Stable | -| `use-pipe-transform-interface` | Stable | -| `use-view-encapsulation` | Stable | -| `component-class-suffix` | Stable | -| `component-selector` | Stable | -| `directive-class-suffix` | Stable | -| `directive-selector` | Stable | -| `use-host-property-decorator` | Stable | -| `use-input-property-decorator` | Stable | -| `use-output-property-decorator` | Stable | -| `trackBy-function` | Stable | -| `import-destructuring-spacing` | Stable | -| `no-output-named-after-standard-event` | Stable | -| `max-inline-declarations` | Stable | -| `prefer-output-readonly` | Stable | -| `enforce-component-selector` | Stable | -| `no-life-cycle-call` | Stable | -| `no-template-call-expression` | Stable | -| `no-queries-parameter` | Stable | -| `prefer-inline-decorator` | Stable | -| `template-cyclomatic-complexity` | Stable | -| `pipe-prefix` | _Experimental_ | -| `no-conflicting-life-cycle-hooks` | _Experimental_ | -| `i18n` | _Experimental_ | -| `no-unused-css` | _Experimental_ | -| `template-conditional-complexity` | _Experimental_ | -| `angular-whitespace` | _Deprecated_ | +| Rule | Status | +| --------------------------------------------- | :------------: | +| `banana-in-box` | Stable | +| `contextual-life-cycle` | Stable | +| `decorator-not-allowed` | Stable | +| `pipe-impure` | Stable | +| `templates-no-negated-async` | Stable | +| `no-attribute-parameter-decorator` | Stable | +| `no-forward-ref` | Stable | +| `no-input-prefix` | Stable | +| `no-input-rename` | Stable | +| `no-output-on-prefix` | Stable | +| `no-output-rename` | Stable | +| `use-life-cycle-interface` | Stable | +| `use-pipe-decorator` | Stable | +| `use-pipe-transform-interface` | Stable | +| `use-view-encapsulation` | Stable | +| `component-class-suffix` | Stable | +| `component-selector` | Stable | +| `directive-class-suffix` | Stable | +| `directive-selector` | Stable | +| `use-host-property-decorator` | Stable | +| `use-input-property-decorator` | Stable | +| `use-output-property-decorator` | Stable | +| `trackBy-function` | Stable | +| `import-destructuring-spacing` | Stable | +| `no-output-named-after-standard-event` | Stable | +| `max-inline-declarations` | Stable | +| `prefer-output-readonly` | Stable | +| `enforce-component-selector` | Stable | +| `no-life-cycle-call` | Stable | +| `no-template-call-expression` | Stable | +| `no-queries-parameter` | Stable | +| `prefer-inline-decorator` | Stable | +| `template-cyclomatic-complexity` | Stable | +| `template-conditional-complexity` | Stable | +| `pipe-prefix` | _Experimental_ | +| `no-conflicting-life-cycle-hooks` | _Experimental_ | +| `i18n` | _Experimental_ | +| `no-unused-css` | _Experimental_ | +| `template-accessibility-tabindex-no-positive` | _Experimental_ | +| `template-accessibility-label-for` | _Experimental_ | +| `template-accessibility-alt-text` | _Experimental_ | +| `template-accessibility-element-content` | _Experimental_ | +| `template-accessibility-table-scope` | _Experimental_ | +| `template-accessibility-valid-aria` | _Experimental_ | +| `template-no-autofocus` | _Experimental_ | +| `template-click-events-have-key-events` | _Experimental_ | +| `template-mouse-events-have-key-events` | _Experimental_ | +| `template-no-distracting-elements` | _Experimental_ | +| `angular-whitespace` | _Deprecated_ | ## Disable a rule that validates Template or Styles From ab082d3e2a0bf01a70a4da4b0104cc9d566fd949 Mon Sep 17 00:00:00 2001 From: Rafael Santana Date: Wed, 20 Feb 2019 20:54:30 -0300 Subject: [PATCH 2/5] docs: add new rules --- CONTRIBUTING.md | 2 +- README.md | 186 ++++++++++++++++++++++++------------------------ 2 files changed, 95 insertions(+), 93 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 45568c516..3224d1354 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -205,7 +205,7 @@ Must be one of the following: ### Scope The scope could be anything specifying place of the commit change. For example -`ngWalker`, `useLifeCycleInterface`, etc. +`ngWalker`, `useLifecycleInterface`, etc. ### Subject diff --git a/README.md b/README.md index 5186d7aa1..9d1e8a948 100644 --- a/README.md +++ b/README.md @@ -96,38 +96,38 @@ Create the following `tslint.json` file like: { "extends": ["codelyzer"], "rules": { - "banana-in-box": true, - "templates-no-negated-async": true, - "directive-selector": [true, "attribute", "sg", "camelCase"], + "component-class-suffix": true, "component-selector": [true, "element", "sg", "kebab-case"], + "contextual-lifecycle": true, + "directive-class-suffix": true, + "directive-selector": [true, "attribute", "sg", "camelCase"], "max-inline-declarations": true, - "no-life-cycle-call": true, - "prefer-output-readonly": true, - "no-conflicting-life-cycle-hooks": true, - "enforce-component-selector": true, - "no-queries-parameter": true, - "prefer-inline-decorator": true, - "use-input-property-decorator": true, - "use-output-property-decorator": true, - "use-host-property-decorator": true, - "use-view-encapsulation": true, "no-attribute-parameter-decorator": true, - "no-output-named-after-standard-event": true, + "no-conflicting-lifecycle-hooks": true, + "no-forward-ref": true, "no-input-rename": true, - "no-output-rename": true, + "no-lifecycle-call": true, + "no-output-native": true, "no-output-on-prefix": true, - "no-forward-ref": true, + "no-output-rename": true, + "no-queries-parameter": true, "no-unused-css": true, - "use-life-cycle-interface": true, - "contextual-life-cycle": true, - "trackBy-function": true, - "use-pipe-transform-interface": true, - "component-class-suffix": true, - "directive-class-suffix": true, "pipe-impure": true, - "i18n": [true, "check-id", "check-text"], + "prefer-inline-decorator": true, + "prefer-output-readonly": true, + "template-banana-in-box": true, + "template-conditional-complexity": [true, 4], "template-cyclomatic-complexity": [true, 5], - "template-conditional-complexity": [true, 4] + "template-i18n": [true, "check-id", "check-text"], + "template-no-negated-async": true, + "template-use-track-by-function": true, + "use-component-selector": true, + "use-host-property-decorator": true, + "use-input-property-decorator": true, + "use-lifecycle-interface": true, + "use-output-property-decorator": true, + "use-pipe-transform-interface": true, + "use-view-encapsulation": true } } ``` @@ -156,38 +156,38 @@ Now create the following `tslint.json` file where your `node_modules` directory { "rulesDirectory": ["node_modules/codelyzer"], "rules": { - "banana-in-box": true, - "templates-no-negated-async": true, - "directive-selector": [true, "attribute", "sg", "camelCase"], + "component-class-suffix": true, "component-selector": [true, "element", "sg", "kebab-case"], + "contextual-lifecycle": true, + "directive-class-suffix": true, + "directive-selector": [true, "attribute", "sg", "camelCase"], "max-inline-declarations": true, - "no-life-cycle-call": true, - "prefer-output-readonly": true, - "no-conflicting-life-cycle-hooks": true, - "enforce-component-selector": true, - "no-queries-parameter": true, - "prefer-inline-decorator": true, - "use-input-property-decorator": true, - "use-output-property-decorator": true, - "use-host-property-decorator": true, - "use-view-encapsulation": true, "no-attribute-parameter-decorator": true, - "no-output-named-after-standard-event": true, + "no-conflicting-lifecycle-hooks": true, + "no-forward-ref": true, "no-input-rename": true, - "no-output-rename": true, + "no-lifecycle-call": true, + "no-output-native": true, "no-output-on-prefix": true, - "no-forward-ref": true, + "no-output-rename": true, + "no-queries-parameter": true, "no-unused-css": true, - "use-life-cycle-interface": true, - "contextual-life-cycle": true, - "trackBy-function": true, - "use-pipe-transform-interface": true, - "component-class-suffix": true, - "directive-class-suffix": true, "pipe-impure": true, - "i18n": [true, "check-id", "check-text"], + "prefer-inline-decorator": true, + "prefer-output-readonly": true, + "template-banana-in-box": true, + "template-conditional-complexity": [true, 4], "template-cyclomatic-complexity": [true, 5], - "template-conditional-complexity": [true, 4] + "template-i18n": [true, "check-id", "check-text"], + "template-no-negated-async": true, + "template-use-track-by-function": true, + "use-component-selector": true, + "use-host-property-decorator": true, + "use-input-property-decorator": true, + "use-lifecycle-interface": true, + "use-output-property-decorator": true, + "use-pipe-transform-interface": true, + "use-view-encapsulation": true } } ``` @@ -257,27 +257,27 @@ Below you can find a recommended configuration which is based on the [Angular St { // The rule have the following arguments: // [ENABLED, "attribute" | "element", "selectorPrefix" | ["listOfPrefixes"], "camelCase" | "kebab-case"] - "directive-selector": [true, "attribute", ["dir-prefix1", "dir-prefix2"], "camelCase"], "component-selector": [true, "element", ["cmp-prefix1", "cmp-prefix2"], "kebab-case"], + "directive-selector": [true, "attribute", ["dir-prefix1", "dir-prefix2"], "camelCase"], - "use-input-property-decorator": true, - "use-output-property-decorator": true, - "use-host-property-decorator": true, + "max-inline-declarations": true, "no-attribute-parameter-decorator": true, + "no-conflicting-lifecycle-hooks": true, + "no-forward-ref": true, "no-input-rename": true, + "no-lifecycle-call": true, + "no-output-native": true, "no-output-on-prefix": true, "no-output-rename": true, - "no-forward-ref": true, - "use-life-cycle-interface": true, - "use-pipe-transform-interface": true, - "no-output-named-after-standard-event": true, - "max-inline-declarations": true, - "no-life-cycle-call": true, - "prefer-output-readonly": true, - "no-conflicting-life-cycle-hooks": true, - "enforce-component-selector": true, "no-queries-parameter": true, "prefer-inline-decorator": true, + "prefer-output-readonly": true, + "use-component-selector": true, + "use-host-property-decorator": true, + "use-input-property-decorator": true, + "use-lifecycle-interface": true, + "use-output-property-decorator": true, + "use-pipe-transform-interface": true, // [ENABLED, "SUFFIX"] // Where "SUFFIX" is your custom suffix, for instance "Page" for Ionic 2 components. "component-class-suffix": [true, "Component"], @@ -289,53 +289,55 @@ Below you can find a recommended configuration which is based on the [Angular St | Rule | Status | | --------------------------------------------- | :------------: | -| `banana-in-box` | Stable | -| `contextual-life-cycle` | Stable | +| `component-class-suffix` | Stable | +| `component-selector` | Stable | +| `contextual-lifecycle` | Stable | | `decorator-not-allowed` | Stable | -| `pipe-impure` | Stable | -| `templates-no-negated-async` | Stable | +| `directive-class-suffix` | Stable | +| `directive-selector` | Stable | +| `import-destructuring-spacing` | Stable | +| `max-inline-declarations` | Stable | | `no-attribute-parameter-decorator` | Stable | | `no-forward-ref` | Stable | | `no-input-prefix` | Stable | | `no-input-rename` | Stable | +| `no-lifecycle-call` | Stable | +| `no-output-native` | Stable | | `no-output-on-prefix` | Stable | | `no-output-rename` | Stable | -| `use-life-cycle-interface` | Stable | -| `use-pipe-decorator` | Stable | -| `use-pipe-transform-interface` | Stable | -| `use-view-encapsulation` | Stable | -| `component-class-suffix` | Stable | -| `component-selector` | Stable | -| `directive-class-suffix` | Stable | -| `directive-selector` | Stable | -| `use-host-property-decorator` | Stable | -| `use-input-property-decorator` | Stable | -| `use-output-property-decorator` | Stable | -| `trackBy-function` | Stable | -| `import-destructuring-spacing` | Stable | -| `no-output-named-after-standard-event` | Stable | -| `max-inline-declarations` | Stable | -| `prefer-output-readonly` | Stable | -| `enforce-component-selector` | Stable | -| `no-life-cycle-call` | Stable | -| `no-template-call-expression` | Stable | | `no-queries-parameter` | Stable | +| `pipe-impure` | Stable | | `prefer-inline-decorator` | Stable | +| `prefer-output-readonly` | Stable | +| `template-banana-in-box` | Stable | | `template-cyclomatic-complexity` | Stable | -| `template-conditional-complexity` | Stable | -| `pipe-prefix` | _Experimental_ | -| `no-conflicting-life-cycle-hooks` | _Experimental_ | -| `i18n` | _Experimental_ | +| `template-no-call-expression` | Stable | +| `template-no-negated-async` | Stable | +| `template-use-track-by-function` | Stable | +| `use-component-selector` | Stable | +| `use-host-property-decorator` | Stable | +| `use-input-property-decorator` | Stable | +| `use-lifecycle-interface` | Stable | +| `use-output-property-decorator` | Stable | +| `use-pipe-decorator` | Stable | +| `use-pipe-transform-interface` | Stable | +| `use-view-encapsulation` | Stable | +| `no-conflicting-lifecycle-hooks` | _Experimental_ | | `no-unused-css` | _Experimental_ | -| `template-accessibility-tabindex-no-positive` | _Experimental_ | -| `template-accessibility-label-for` | _Experimental_ | +| `pipe-prefix` | _Experimental_ | +| `relative-url-prefix` | _Experimental_ | +| `template-i18n` | _Experimental_ | | `template-accessibility-alt-text` | _Experimental_ | | `template-accessibility-element-content` | _Experimental_ | +| `template-accessibility-label-for` | _Experimental_ | +| `template-accessibility-tabindex-no-positive` | _Experimental_ | | `template-accessibility-table-scope` | _Experimental_ | | `template-accessibility-valid-aria` | _Experimental_ | -| `template-no-autofocus` | _Experimental_ | +| `template-conditional-complexity` | _Experimental_ | | `template-click-events-have-key-events` | _Experimental_ | | `template-mouse-events-have-key-events` | _Experimental_ | +| `template-no-any` | _Experimental_ | +| `template-no-autofocus` | _Experimental_ | | `template-no-distracting-elements` | _Experimental_ | | `angular-whitespace` | _Deprecated_ | @@ -348,7 +350,7 @@ To disable rules that validate templates or styles you'd need to add a marker in ```ts import { Component } from '@angular/core'; -/* tslint:disable:trackBy-function */ +/* tslint:disable:template-use-track-by-function */ @Component({ selector: 'codelyzer', templateUrl: './codelyzer.component.html' From 0bb46ab4f43c2a842ebcb88d866c5719df50ad6e Mon Sep 17 00:00:00 2001 From: Rafael Santana Date: Thu, 7 Mar 2019 21:57:52 -0300 Subject: [PATCH 3/5] docs: add new rules // rename old rules --- README.md | 82 +++++++++++++++++++++++++------------------------------ 1 file changed, 37 insertions(+), 45 deletions(-) diff --git a/README.md b/README.md index 9d1e8a948..cae107612 100644 --- a/README.md +++ b/README.md @@ -97,22 +97,25 @@ Create the following `tslint.json` file like: "extends": ["codelyzer"], "rules": { "component-class-suffix": true, + "component-max-inline-declarations": true, "component-selector": [true, "element", "sg", "kebab-case"], "contextual-lifecycle": true, "directive-class-suffix": true, "directive-selector": [true, "attribute", "sg", "camelCase"], - "max-inline-declarations": true, - "no-attribute-parameter-decorator": true, - "no-conflicting-lifecycle-hooks": true, + "no-attribute-decorator": true, + "no-conflicting-lifecycle": true, "no-forward-ref": true, + "no-host-metadata-property": true, "no-input-rename": true, + "no-inputs-metadata-property": true, "no-lifecycle-call": true, "no-output-native": true, "no-output-on-prefix": true, "no-output-rename": true, - "no-queries-parameter": true, + "no-outputs-metadata-property": true, + "no-pipe-impure": true, + "no-queries-metadata-property": true, "no-unused-css": true, - "pipe-impure": true, "prefer-inline-decorator": true, "prefer-output-readonly": true, "template-banana-in-box": true, @@ -122,12 +125,9 @@ Create the following `tslint.json` file like: "template-no-negated-async": true, "template-use-track-by-function": true, "use-component-selector": true, - "use-host-property-decorator": true, - "use-input-property-decorator": true, + "use-component-view-encapsulation": true, "use-lifecycle-interface": true, - "use-output-property-decorator": true, - "use-pipe-transform-interface": true, - "use-view-encapsulation": true + "use-pipe-transform-interface": true } } ``` @@ -157,22 +157,25 @@ Now create the following `tslint.json` file where your `node_modules` directory "rulesDirectory": ["node_modules/codelyzer"], "rules": { "component-class-suffix": true, + "component-max-inline-declarations": true, "component-selector": [true, "element", "sg", "kebab-case"], "contextual-lifecycle": true, "directive-class-suffix": true, "directive-selector": [true, "attribute", "sg", "camelCase"], - "max-inline-declarations": true, - "no-attribute-parameter-decorator": true, - "no-conflicting-lifecycle-hooks": true, + "no-attribute-decorator": true, + "no-conflicting-lifecycle": true, "no-forward-ref": true, + "no-host-metadata-property": true, "no-input-rename": true, + "no-inputs-metadata-property": true, "no-lifecycle-call": true, "no-output-native": true, "no-output-on-prefix": true, "no-output-rename": true, - "no-queries-parameter": true, + "no-outputs-metadata-property": true, + "no-pipe-impure": true, + "no-queries-metadata-property": true, "no-unused-css": true, - "pipe-impure": true, "prefer-inline-decorator": true, "prefer-output-readonly": true, "template-banana-in-box": true, @@ -182,12 +185,9 @@ Now create the following `tslint.json` file where your `node_modules` directory "template-no-negated-async": true, "template-use-track-by-function": true, "use-component-selector": true, - "use-host-property-decorator": true, - "use-input-property-decorator": true, + "use-component-view-encapsulation": true, "use-lifecycle-interface": true, - "use-output-property-decorator": true, - "use-pipe-transform-interface": true, - "use-view-encapsulation": true + "use-pipe-transform-interface": true } } ``` @@ -260,24 +260,16 @@ Below you can find a recommended configuration which is based on the [Angular St "component-selector": [true, "element", ["cmp-prefix1", "cmp-prefix2"], "kebab-case"], "directive-selector": [true, "attribute", ["dir-prefix1", "dir-prefix2"], "camelCase"], - "max-inline-declarations": true, - "no-attribute-parameter-decorator": true, - "no-conflicting-lifecycle-hooks": true, - "no-forward-ref": true, + "component-max-inline-declarations": true, + "no-host-metadata-property": true, "no-input-rename": true, - "no-lifecycle-call": true, - "no-output-native": true, + "no-inputs-metadata-property": true, "no-output-on-prefix": true, "no-output-rename": true, - "no-queries-parameter": true, + "no-outputs-metadata-property": true, + "no-queries-metadata-property": true, "prefer-inline-decorator": true, - "prefer-output-readonly": true, - "use-component-selector": true, - "use-host-property-decorator": true, - "use-input-property-decorator": true, "use-lifecycle-interface": true, - "use-output-property-decorator": true, - "use-pipe-transform-interface": true, // [ENABLED, "SUFFIX"] // Where "SUFFIX" is your custom suffix, for instance "Page" for Ionic 2 components. "component-class-suffix": [true, "Component"], @@ -290,23 +282,26 @@ Below you can find a recommended configuration which is based on the [Angular St | Rule | Status | | --------------------------------------------- | :------------: | | `component-class-suffix` | Stable | +| `component-max-inline-declarations` | Stable | | `component-selector` | Stable | +| `contextual-decorator` | Stable | | `contextual-lifecycle` | Stable | -| `decorator-not-allowed` | Stable | | `directive-class-suffix` | Stable | | `directive-selector` | Stable | | `import-destructuring-spacing` | Stable | -| `max-inline-declarations` | Stable | -| `no-attribute-parameter-decorator` | Stable | +| `no-attribute-decorator` | Stable | | `no-forward-ref` | Stable | +| `no-host-metadata-property` | Stable | | `no-input-prefix` | Stable | | `no-input-rename` | Stable | +| `no-inputs-metadata-property` | Stable | | `no-lifecycle-call` | Stable | | `no-output-native` | Stable | | `no-output-on-prefix` | Stable | | `no-output-rename` | Stable | -| `no-queries-parameter` | Stable | -| `pipe-impure` | Stable | +| `no-outputs-metadata-property` | Stable | +| `no-pipe-impure` | Stable | +| `no-queries-metadata-property` | Stable | | `prefer-inline-decorator` | Stable | | `prefer-output-readonly` | Stable | | `template-banana-in-box` | Stable | @@ -315,26 +310,23 @@ Below you can find a recommended configuration which is based on the [Angular St | `template-no-negated-async` | Stable | | `template-use-track-by-function` | Stable | | `use-component-selector` | Stable | -| `use-host-property-decorator` | Stable | -| `use-input-property-decorator` | Stable | +| `use-component-view-encapsulation` | Stable | | `use-lifecycle-interface` | Stable | -| `use-output-property-decorator` | Stable | | `use-pipe-decorator` | Stable | | `use-pipe-transform-interface` | Stable | -| `use-view-encapsulation` | Stable | -| `no-conflicting-lifecycle-hooks` | _Experimental_ | +| `no-conflicting-lifecycle` | _Experimental_ | | `no-unused-css` | _Experimental_ | | `pipe-prefix` | _Experimental_ | | `relative-url-prefix` | _Experimental_ | -| `template-i18n` | _Experimental_ | | `template-accessibility-alt-text` | _Experimental_ | | `template-accessibility-element-content` | _Experimental_ | | `template-accessibility-label-for` | _Experimental_ | | `template-accessibility-tabindex-no-positive` | _Experimental_ | | `template-accessibility-table-scope` | _Experimental_ | | `template-accessibility-valid-aria` | _Experimental_ | -| `template-conditional-complexity` | _Experimental_ | | `template-click-events-have-key-events` | _Experimental_ | +| `template-conditional-complexity` | _Experimental_ | +| `template-i18n` | _Experimental_ | | `template-mouse-events-have-key-events` | _Experimental_ | | `template-no-any` | _Experimental_ | | `template-no-autofocus` | _Experimental_ | From 3244e0422bb0556a78c882f20ad74125bc0eac26 Mon Sep 17 00:00:00 2001 From: Rafael Santana Date: Thu, 7 Mar 2019 22:33:31 -0300 Subject: [PATCH 4/5] docs: adjust minor info --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cae107612..48c903096 100644 --- a/README.md +++ b/README.md @@ -270,8 +270,8 @@ Below you can find a recommended configuration which is based on the [Angular St "no-queries-metadata-property": true, "prefer-inline-decorator": true, "use-lifecycle-interface": true, - // [ENABLED, "SUFFIX"] - // Where "SUFFIX" is your custom suffix, for instance "Page" for Ionic 2 components. + // [ENABLED, "Suffix" | ["listOfSuffixes"]] + // Where "Suffix" is/are your custom(s) suffix(s), for instance "Page" for Ionic 2 components. "component-class-suffix": [true, "Component"], "directive-class-suffix": [true, "Directive"] } From b8011d450226ede90739219f9f35522dd39ff1ed Mon Sep 17 00:00:00 2001 From: Rafael Santana Date: Thu, 7 Mar 2019 22:36:23 -0300 Subject: [PATCH 5/5] docs: remove '2' from Ionic --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 48c903096..f880605c8 100644 --- a/README.md +++ b/README.md @@ -271,7 +271,7 @@ Below you can find a recommended configuration which is based on the [Angular St "prefer-inline-decorator": true, "use-lifecycle-interface": true, // [ENABLED, "Suffix" | ["listOfSuffixes"]] - // Where "Suffix" is/are your custom(s) suffix(s), for instance "Page" for Ionic 2 components. + // Where "Suffix" is/are your custom(s) suffix(s), for instance "Page" for Ionic components. "component-class-suffix": [true, "Component"], "directive-class-suffix": [true, "Directive"] }