Skip to content

Commit e40674b

Browse files
engsa-157-updating restricted import paths (#45)
* engsa-157-updating restricted import paths to be able to import from configuration * update package version and changelog
1 parent f39d40d commit e40674b

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.12.0 (October 4, 2024)
4+
5+
- removed `import/no-restricted-paths` for importing from `src/configuration`
6+
37
## 0.11.2 (September 24, 2024)
48
- vulnerabilities fixes
59

config-backend.js

-10
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ module.exports = {
3535
from: './src/application',
3636
message: 'Hex Arch - Cannot import from application in the domain layer',
3737
},
38-
{
39-
target: './src/domain',
40-
from: './src/configuration',
41-
message: 'Hex Arch - Cannot import from configuration in the domain layer',
42-
},
4338
{
4439
target: './src/application',
4540
from: './src/infrastructure',
@@ -60,11 +55,6 @@ module.exports = {
6055
from: './src/infrastructure',
6156
message: 'Hex: domain layer cannot know about the infrastructure layer, even in tests',
6257
},
63-
{
64-
target: './test/domain',
65-
from: './src/configuration',
66-
message: 'Hex: domain layer cannot know about the configuration layer, even in tests',
67-
},
6858
{
6959
target: './test/domain',
7060
from: './src/application',

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-neo",
3-
"version": "0.11.2",
3+
"version": "0.12.0",
44
"description": "Official Neo Financial ESLint configuration",
55
"main": "index.js",
66
"author": "Neo Financial Engineering <[email protected]>",
@@ -48,4 +48,4 @@
4848
"prettier": "^3.2.5",
4949
"typescript": "^5.4.2"
5050
}
51-
}
51+
}

0 commit comments

Comments
 (0)