From 8b62a5421e26ea12da598caed3ba25c2d27598bb Mon Sep 17 00:00:00 2001 From: Andrew Herron Date: Thu, 29 Feb 2024 13:58:14 +1100 Subject: [PATCH] TINY-10602: Disable require-await rule --- CHANGELOG.md | 3 +++ package.json | 2 +- src/main/ts/configs/Standard.ts | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bdf4179..5e896b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## Unreleased +### Changed +- Disabled `@typescript-eslint/require-await`, which caused some builds to fail inconsistently and doesn't seem particularly valuable + ## 2.3.1 - 2023-05-21 ### Fixed diff --git a/package.json b/package.json index 7a2c037..156fbce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tinymce/eslint-plugin", - "version": "2.3.2-rc", + "version": "2.4.0-rc", "description": "Plugin for ESLint containing Tiny Technologies Inc. standard linting rules", "author": "Tiny Technologies Inc.", "main": "dist/main/ts/api/Main.js", diff --git a/src/main/ts/configs/Standard.ts b/src/main/ts/configs/Standard.ts index 22da3d9..648eb5c 100644 --- a/src/main/ts/configs/Standard.ts +++ b/src/main/ts/configs/Standard.ts @@ -60,6 +60,7 @@ export const base: Linter.Config = { '@typescript-eslint/prefer-for-of': 'error', '@typescript-eslint/prefer-function-type': 'error', '@typescript-eslint/quotes': [ 'error', 'single', { allowTemplateLiterals: true }], + '@typescript-eslint/require-await': 'off', '@typescript-eslint/restrict-plus-operands': 'off', '@typescript-eslint/restrict-template-expressions': 'off', '@typescript-eslint/semi': [ 'error', 'always' ],