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


 "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
            "exclude": [

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