@medplum/eslint-config 4.3.8 → 4.3.10

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 +11 -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', 'react-refresh'],
3
+ plugins: ['@typescript-eslint', 'header', 'react-refresh'],
4
4
  extends: [
5
5
  'eslint:recommended',
6
6
  'plugin:@typescript-eslint/recommended',
@@ -153,6 +153,16 @@ module.exports = {
153
153
  'jsdoc/require-hyphen-before-param-description': ['error', 'always'],
154
154
  'jsdoc/require-jsdoc': 'off',
155
155
  'jsdoc/tag-lines': 'off',
156
+
157
+ // Header
158
+ 'header/header': [
159
+ 'error',
160
+ 'line',
161
+ [
162
+ ' SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors',
163
+ ' SPDX-License-Identifier: Apache-2.0',
164
+ ],
165
+ ],
156
166
  },
157
167
  ignorePatterns: [
158
168
  'coverage',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/eslint-config",
3
- "version": "4.3.8",
3
+ "version": "4.3.10",
4
4
  "description": "Shared ESLint configuration for Medplum projects",
5
5
  "keywords": [
6
6
  "eslint",
@@ -19,10 +19,11 @@
19
19
  "author": "Medplum <hello@medplum.com>",
20
20
  "main": "index.cjs",
21
21
  "devDependencies": {
22
- "@typescript-eslint/eslint-plugin": "8.26.0",
23
- "@typescript-eslint/parser": "8.26.0",
22
+ "@typescript-eslint/eslint-plugin": "8.39.0",
23
+ "@typescript-eslint/parser": "8.39.0",
24
24
  "eslint": "8.57.1",
25
- "eslint-plugin-jsdoc": "50.8.0",
25
+ "eslint-plugin-jsdoc": "52.0.4",
26
+ "eslint-plugin-header": "3.1.1",
26
27
  "eslint-plugin-react-hooks": "5.2.0",
27
28
  "eslint-plugin-react-refresh": "0.4.20"
28
29
  },
@@ -31,6 +32,7 @@
31
32
  "@typescript-eslint/parser": "^8",
32
33
  "eslint": "^8",
33
34
  "eslint-plugin-jsdoc": "^50",
35
+ "eslint-plugin-header": "^3",
34
36
  "eslint-plugin-react-hooks": "^4",
35
37
  "eslint-plugin-react-refresh": "^0"
36
38
  },