eslint-plugin-ember-concurrency
v0.5.1
Published
ESLint plugin for ember-concurrency users
Downloads
5,749
Readme
eslint-plugin-ember-concurrency
ESLint plugin for ember-concurrency
Installation
yarn add --dev eslint-plugin-ember-concurrency
Usage
// .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 – Prevents usage of
Promise.all/race()
in tasksno-perform-without-catch – Ensures all
.perform()
calls have some kind of error handlingrequire-task-name-suffix – Ensures consistent task property names
no-debug - Ensures task debuggers are not shipped to production
License
This projects is developed by and © simplabs GmbH and contributors. It is released under the MIT License.