@medplum/eslint-config 4.3.10 → 4.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.cjs +4 -1
  2. package/package.json +6 -4
package/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
2
  parser: '@typescript-eslint/parser',
3
- plugins: ['@typescript-eslint', 'header', 'react-refresh'],
3
+ plugins: ['@typescript-eslint', 'header', 'react-refresh', 'no-only-tests'],
4
4
  extends: [
5
5
  'eslint:recommended',
6
6
  'plugin:@typescript-eslint/recommended',
@@ -163,6 +163,9 @@ module.exports = {
163
163
  ' SPDX-License-Identifier: Apache-2.0',
164
164
  ],
165
165
  ],
166
+
167
+ // No Only Tests
168
+ 'no-only-tests/no-only-tests': ['error', { fix: true }],
166
169
  },
167
170
  ignorePatterns: [
168
171
  'coverage',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/eslint-config",
3
- "version": "4.3.10",
3
+ "version": "4.3.11",
4
4
  "description": "Shared ESLint configuration for Medplum projects",
5
5
  "keywords": [
6
6
  "eslint",
@@ -19,11 +19,12 @@
19
19
  "author": "Medplum <hello@medplum.com>",
20
20
  "main": "index.cjs",
21
21
  "devDependencies": {
22
- "@typescript-eslint/eslint-plugin": "8.39.0",
23
- "@typescript-eslint/parser": "8.39.0",
22
+ "@typescript-eslint/eslint-plugin": "8.39.1",
23
+ "@typescript-eslint/parser": "8.39.1",
24
24
  "eslint": "8.57.1",
25
- "eslint-plugin-jsdoc": "52.0.4",
25
+ "eslint-plugin-jsdoc": "54.1.0",
26
26
  "eslint-plugin-header": "3.1.1",
27
+ "eslint-plugin-no-only-tests": "3.3.0",
27
28
  "eslint-plugin-react-hooks": "5.2.0",
28
29
  "eslint-plugin-react-refresh": "0.4.20"
29
30
  },
@@ -33,6 +34,7 @@
33
34
  "eslint": "^8",
34
35
  "eslint-plugin-jsdoc": "^50",
35
36
  "eslint-plugin-header": "^3",
37
+ "eslint-plugin-no-only-tests": "^3.3.0",
36
38
  "eslint-plugin-react-hooks": "^4",
37
39
  "eslint-plugin-react-refresh": "^0"
38
40
  },