-
- Downloads
Bug 1768031 - Reject top-level await in modules via an ESLint rule. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D145892
Showing
- docs/code-quality/lint/linters/eslint-plugin-mozilla.rst 1 addition, 0 deletionsdocs/code-quality/lint/linters/eslint-plugin-mozilla.rst
- docs/code-quality/lint/linters/eslint-plugin-mozilla/reject-top-level-await.rst 26 additions, 0 deletions.../linters/eslint-plugin-mozilla/reject-top-level-await.rst
- tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js 1 addition, 0 deletions...t/eslint/eslint-plugin-mozilla/lib/configs/recommended.js
- tools/lint/eslint/eslint-plugin-mozilla/lib/index.js 1 addition, 0 deletionstools/lint/eslint/eslint-plugin-mozilla/lib/index.js
- tools/lint/eslint/eslint-plugin-mozilla/lib/rules/reject-top-level-await.js 42 additions, 0 deletions...eslint-plugin-mozilla/lib/rules/reject-top-level-await.js
- tools/lint/eslint/eslint-plugin-mozilla/package-lock.json 1 addition, 1 deletiontools/lint/eslint/eslint-plugin-mozilla/package-lock.json
- tools/lint/eslint/eslint-plugin-mozilla/package.json 1 addition, 1 deletiontools/lint/eslint/eslint-plugin-mozilla/package.json
- tools/lint/eslint/eslint-plugin-mozilla/tests/reject-top-level-await.js 36 additions, 0 deletions...int/eslint-plugin-mozilla/tests/reject-top-level-await.js
Loading
Please register or sign in to comment