Skip to content

Commit 5d7c659

Browse files
frumbertandrewnicols
authored andcommitted
configuration.js default export requires eslint rule
grunt complains that Promise executor functions should not be async no-async-promise-executor This change skips the async check
1 parent 0c88b8f commit 5d7c659

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/apis/plugintypes/tiny/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ In order to make your configuration changes you must create a `Configuration` ob
512512
```javascript title="Defining a Configuration"
513513
import * as Configuration from './configuration';
514514

515+
// eslint-disable-next-line no-async-promise-executor
515516
export default new Promise(async(resolve) => {
516517
// ... Plugin code goes here.
517518

0 commit comments

Comments
 (0)