eslint-plugin-arenanet
v1.5.2
Published
This is intended to be included in `eslint-config-arenanet`.
Downloads
46
Readme
Custom Arenanet Eslint Rules
This is intended to be included in eslint-config-arenanet
.
Rule descriptions
mithril-view-must-return
Mithril views must return something in order to be rendered.
must-assign-out-of-place-array-method
Out of place array methods must be assigned, returned, or used as a conditional or function argument.
must-await-playwright-expect
Playwright can use sync or async expect
. This rule enforces using the async method to avoid confusing behavior. https://playwright.dev/docs/test-assertions
no-config-features
Discourage direct access of config.features
reply-with-request
Guarantees backend response includes request object.
use-strict-at-top-of-document
Warn user that "use strict";
has not been expressed at the top of document.