@dxos/eslint-plugin-rules 0.8.4-main.d05673bc65 → 0.8.4-main.e250131250
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.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
+
import fs from 'node:fs';
|
|
6
|
+
|
|
5
7
|
import comment from './rules/comment.js';
|
|
6
8
|
import effectSubpathImports from './rules/effect-subpath-imports.js';
|
|
7
9
|
import header from './rules/header.js';
|
|
@@ -9,7 +11,6 @@ import importAsNamespace from './rules/import-as-namespace.js';
|
|
|
9
11
|
import noBareDotImports from './rules/no-bare-dot-imports.js';
|
|
10
12
|
import noEffectRunPromise from './rules/no-effect-run-promise.js';
|
|
11
13
|
import noEmptyPromiseCatch from './rules/no-empty-promise-catch.js';
|
|
12
|
-
import fs from 'node:fs';
|
|
13
14
|
|
|
14
15
|
const pkg = JSON.parse(fs.readFileSync(new URL('./package.json', import.meta.url), 'utf8'));
|
|
15
16
|
|