eslint-plugin-arenanet

1.3.1 • Public • Published

Custom Arenanet Eslint Rules

This is intended to be included in eslint-config-arenanet, with all custom rules defaulted to off.

Rule descriptions

mithril-view-must-return

Mithril views must return something in order to be rendered.

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-arenanet

Weekly Downloads

2

Version

1.3.1

License

none

Unpacked Size

8.13 kB

Total Files

3

Last publish

Collaborators

  • hjhopp