https://github.com/mainmatter/eslint-plugin-ember-concurrency
ESLint plugin for ember-concurrency users
https://github.com/mainmatter/eslint-plugin-ember-concurrency
ember ember-concurrency eslint eslint-plugin hacktoberfest
Last synced: 7 months ago
JSON representation
ESLint plugin for ember-concurrency users
- Host: GitHub
- URL: https://github.com/mainmatter/eslint-plugin-ember-concurrency
- Owner: mainmatter
- License: mit
- Created: 2020-04-17T06:55:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-04T22:06:52.000Z (8 months ago)
- Last Synced: 2025-04-09T21:41:40.611Z (8 months ago)
- Topics: ember, ember-concurrency, eslint, eslint-plugin, hacktoberfest
- Language: JavaScript
- Homepage:
- Size: 1.35 MB
- Stars: 13
- Watchers: 6
- Forks: 3
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
eslint-plugin-ember-concurrency
==============================================================================
[ESLint] plugin for [ember-concurrency]
[ESLint]: https://eslint.org/
[ember-concurrency]: http://ember-concurrency.com
Installation
------------------------------------------------------------------------------
```bash
yarn add --dev eslint-plugin-ember-concurrency
```
Usage
------------------------------------------------------------------------------
```js
// .eslintrc.js
module.exports = {
plugins: ['ember-concurrency'],
rules: {
'ember-concurrency/no-perform-without-catch': 'error',
'ember-concurrency/require-task-name-suffix': 'error',
},
};
```
Rules
------------------------------------------------------------------------------
- [no-native-promise-helpers](./rules/no-native-promise-helpers.md) – Prevents
usage of `Promise.all/race()` in tasks
- [no-perform-without-catch](./rules/no-perform-without-catch.md) – Ensures
all `.perform()` calls have some kind of error handling
- [require-task-name-suffix](./rules/require-task-name-suffix.md) – Ensures
consistent task property names
- [no-debug](./rules/no-debug.md) - Ensures task debuggers are not shipped to production
License
------------------------------------------------------------------------------
This projects is developed by and © [Mainmatter GmbH](http://mainmatter.com)
and contributors. It is released under the [MIT License](LICENSE.md).