flaviostutz / monolint

Linter for monorepos. Checks folder structure, module contents, file contents and naming conventions
MIT License
7 stars 4 forks source link

module-same-contents: replace jsonpointer by jmespath expressions #46

Closed flaviostutz closed 1 year ago

flaviostutz commented 1 year ago

Describe the solution you'd like Instead of having selectors "/test" we would have "test", which is more intuitive. Now it's a good moment to change it before we have any legacy :), and jmespath has even more capabilities.

Additional context jmespath is simpler and its adoption is a bit higher. These days I saw AWS using it in one of its libraries too (https://awslabs.github.io/aws-lambda-powertools-python/2.1.0/utilities/idempotency/#idempotent_function-decorator).

flaviostutz commented 1 year ago

If implementing this, it would fix #53 too. Check their requirements.