README.md in code_ownership-1.34.2 vs README.md in code_ownership-1.35.0

- old
+ new

@@ -71,10 +71,16 @@ - frontend/other_location_for_packages/* ``` This defaults `**/`, which makes it look for `package.json` files across your application. +> [!NOTE] +> Javscript package ownership does not respect `unowned_globs`. If you wish to disable usage of this feature you can set `js_package_paths` to an empty list. +```yml +js_package_paths: [] +``` + ### Custom Ownership To enable custom ownership, you can inject your own custom classes into `code_ownership`. To do this, first create a class that adheres to the `CodeOwnership::Mapper` and/or `CodeOwnership::Validator` interface. Then, in `config/code_ownership.yml`, you can require that file: ```yml @@ -153,10 +159,10 @@ - db/**/* - app/services/some_file1.rb - app/services/some_file2.rb - frontend/javascripts/**/__generated__/**/* ``` -You can call the validation function with the Ruby API +You can call the validation function with the Ruby API ```ruby CodeOwnership.validate! ``` or the CLI ```