diff --git a/CHANGELOG.md b/CHANGELOG.md index 255ae36..88f9a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @sveltejs/eslint-config +## 8.3.0 + +### Minor Changes + +- feat: add two type checked rules used in Svelte and SvelteKit ([#45](https://github.com/sveltejs/eslint-config/pull/45)) + ## 8.2.0 ### Minor Changes diff --git a/index.js b/index.js index 27db513..74e4bd1 100644 --- a/index.js +++ b/index.js @@ -37,6 +37,7 @@ export default [ '@stylistic/quote-props': ['error', 'as-needed'], '@stylistic/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }], '@typescript-eslint/array-type': ['error', { default: 'array-simple' }], + '@typescript-eslint/await-thenable': 'error', '@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/ban-types': 'off', '@typescript-eslint/camelcase': 'off', @@ -53,6 +54,7 @@ export default [ '@typescript-eslint/no-unused-vars': ['error', { args: 'after-used', argsIgnorePattern: '^_' }], '@typescript-eslint/no-use-before-define': 'off', '@typescript-eslint/prefer-interface': 'off', + '@typescript-eslint/require-await': 'error', 'no-constant-condition': ['error', { checkLoops: false }], 'no-duplicate-imports': 'error', 'no-empty': ['error', { allowEmptyCatch: true }], diff --git a/package.json b/package.json index b31e8f9..ffe61f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/eslint-config", - "version": "8.2.0", + "version": "8.3.0", "description": "Svelte ESLint config", "type": "module", "main": "index.js",