Exclude the reference library project folder in LINT with angular 10

I am trying to exclude the reference library project files while running the command npm run lint, but it is not working for me.

In the main application, I have added these code in the angular.json

Angular.json

 "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
              "projects/pts-ngx/core/tsconfig.lib.json",
              "projects/pts-ngx/core/tsconfig.spec.json"
            ],
            "exclude": [
              "**/node_modules/**",
              "**/projects/ors-testtaker-bff/**"
            ]
          }
        }

I have the below file structure and trying to exclude the files inside API and MODEL folder

enter image description here

Followed the instruction from below

How to exclude all files under a directory in lint using angular CLI?

Source: Angular Questions