Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T11:38:39.000Z (2 months ago)
- Last Synced: 2024-10-18T06:19:12.516Z (2 months ago)
- Topics: ember, ember-concurrency, eslint, eslint-plugin, hacktoberfest
- Language: JavaScript
- Homepage:
- Size: 1.36 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.comInstallation
------------------------------------------------------------------------------```bash
yarn add --dev eslint-plugin-ember-concurrency
```Usage
------------------------------------------------------------------------------```js
// .eslintrc.jsmodule.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).