flaviostutz / monolint

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

Add gitignore contents with the same effect as .monolintignore by default #17

Closed flaviostutz closed 1 year ago

flaviostutz commented 1 year ago

Add .gitignore files as the starting point for ignoring files by default. Can be turn-off by "use-gitignore"

Example config:

{
  "module-markers": ["_thisisamodule"],
  "use-gitignore": true,
  "rules": {
    "packagejson-same-name": true
  },
  "defaults": false
}