@accordproject/concerto-core 4.1.0 → 4.1.2
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.
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Dedicated ESLint config used by `npm run lint:deps`.
|
|
2
|
+
#
|
|
3
|
+
# Asserts that every static `import`/`require` specifier in src/ resolves
|
|
4
|
+
# to a declared `dependencies` / `peerDependencies` / `optionalDependencies`
|
|
5
|
+
# entry in this package's package.json. Catches the case where a source
|
|
6
|
+
# file pulls in a module that only happens to be reachable via hoisting
|
|
7
|
+
# from another workspace package — e.g. dayjs prior to #1226.
|
|
8
|
+
#
|
|
9
|
+
# Kept separate from the main .eslintrc.yml so it does not enable
|
|
10
|
+
# TypeScript parsing for the rest of the existing JS lint pass.
|
|
11
|
+
root: true
|
|
12
|
+
parser: '@typescript-eslint/parser'
|
|
13
|
+
parserOptions:
|
|
14
|
+
ecmaVersion: 2022
|
|
15
|
+
sourceType: module
|
|
16
|
+
plugins:
|
|
17
|
+
- import
|
|
18
|
+
rules:
|
|
19
|
+
import/no-extraneous-dependencies:
|
|
20
|
+
- error
|
|
21
|
+
- devDependencies: false
|
|
22
|
+
optionalDependencies: false
|
|
23
|
+
peerDependencies: true
|