You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-9
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ module.exports = {
46
46
Possible configurations:
47
47
-[plugin:ember/base](https://github.com/ember-cli/eslint-plugin-ember/blob/master/lib/config/base.js) - contains no rules settings, but the basic eslint configuration suitable for any ember project. You can use it to configure rules as you wish.
48
48
-[plugin:ember/recommended](https://github.com/ember-cli/eslint-plugin-ember/blob/master/lib/config/recommended.js) - extends base configuration with recommended rules' settings
49
+
-:warning:[plugin:ember/octane](https://github.com/ember-cli/eslint-plugin-ember/blob/master/lib/config/octane.js) - extends recommended configuration with octane rules' settings. This ruleset is currently considered **unstable and experiemental** as rules may be added and removed until the final ruleset is settled upon.
49
50
50
51
#### Use plain plugin:
51
52
@@ -74,6 +75,8 @@ Rules are grouped by category to help you understand their purpose.
74
75
75
76
All rules below with a check mark :white_check_mark: are enabled by default while using `plugin:ember/recommended` config.
76
77
78
+
The `plugin:ember/octane` config contains both Octane rules with a red car :car: in addition to the rules in the `plugin:ember/recommended` config.
79
+
77
80
The `--fix` option on the command line automatically fixes problems reported by rules which have a wrench :wrench: below.
78
81
79
82
<!--RULES_TABLE_START-->
@@ -88,9 +91,9 @@ The `--fix` option on the command line automatically fixes problems reported by
88
91
||[named-functions-in-promises](./docs/rules/named-functions-in-promises.md)| Enforces usage of named functions in promises |
89
92
|:white_check_mark:|[new-module-imports](./docs/rules/new-module-imports.md)| Use "New Module Imports" from Ember RFC #176|
90
93
|:white_check_mark:|[no-function-prototype-extensions](./docs/rules/no-function-prototype-extensions.md)| Prevents usage of Ember's `function` prototype extensions |
|:white_check_mark:|[no-global-jquery](./docs/rules/no-global-jquery.md)| Prevents usage of global jQuery object |
93
-
||[no-jquery](./docs/rules/no-jquery.md)| Disallow any usage of jQuery |
96
+
|:car:|[no-jquery](./docs/rules/no-jquery.md)| Disallow any usage of jQuery |
94
97
|:white_check_mark:|[no-new-mixins](./docs/rules/no-new-mixins.md)| Prevents creation of new mixins |
95
98
|:white_check_mark:|[no-observers](./docs/rules/no-observers.md)| Prevents usage of observers |
96
99
|:white_check_mark::wrench:|[no-old-shims](./docs/rules/no-old-shims.md)| Prevents usage of old shims for modules |
@@ -110,8 +113,8 @@ The `--fix` option on the command line automatically fixes problems reported by
110
113
|| Rule ID | Description |
111
114
|:---|:--------|:------------|
112
115
|:white_check_mark:|[avoid-leaking-state-in-ember-objects](./docs/rules/avoid-leaking-state-in-ember-objects.md)| Avoids state leakage |
113
-
||[classic-decorator-hooks](./docs/rules/classic-decorator-hooks.md)| Ensure correct hooks are used for both classic and non-classic classes |
114
-
||[classic-decorator-no-classic-methods](./docs/rules/classic-decorator-no-classic-methods.md)| Prevent usage of classic APIs such as get/set in classes that aren't explicitly decorated with @classic|
116
+
|:car:|[classic-decorator-hooks](./docs/rules/classic-decorator-hooks.md)| Ensure correct hooks are used for both classic and non-classic classes |
117
+
|:car:|[classic-decorator-no-classic-methods](./docs/rules/classic-decorator-no-classic-methods.md)| Prevent usage of classic APIs such as get/set in classes that aren't explicitly decorated with @classic|
115
118
||[computed-property-getters](./docs/rules/computed-property-getters.md)| Enforce the consistent use of getters in computed properties |
116
119
||[no-proxies](./docs/rules/no-proxies.md)| Disallows using array or object proxies |
117
120
@@ -142,11 +145,11 @@ The `--fix` option on the command line automatically fixes problems reported by
142
145
143
146
|| Rule ID | Description |
144
147
|:---|:--------|:------------|
145
-
||[no-actions-hash](./docs/rules/no-actions-hash.md)| Disallows the actions hash in components, controllers and routes |
146
-
||[no-classic-classes](./docs/rules/no-classic-classes.md)| Disallow "classic" classes in favor of native JS classes |
||[no-computed-properties-in-native-classes](./docs/rules/no-computed-properties-in-native-classes.md)| Disallows using computed properties in native classes |
149
-
||[require-tagless-components](./docs/rules/require-tagless-components.md)| Disallows using the wrapper element of a Component |
148
+
|:car:|[no-actions-hash](./docs/rules/no-actions-hash.md)| Disallows the actions hash in components, controllers and routes |
149
+
|:car:|[no-classic-classes](./docs/rules/no-classic-classes.md)| Disallow "classic" classes in favor of native JS classes |
|:car:|[no-computed-properties-in-native-classes](./docs/rules/no-computed-properties-in-native-classes.md)| Disallows using computed properties in native classes |
152
+
|:car:|[require-tagless-components](./docs/rules/require-tagless-components.md)| Disallows using the wrapper element of a Component |
0 commit comments