the only difference which I have added to apps/borda-frontend/.eslintrc.json is adding
"project": [
"tsconfig.base.json"
]
because without this line project was throwing other errors at me, removing this line is not helping to fix the problem
Failure Logs
$ nx workspace-lint && ng lint
nx workspace-lint [files..]
Lint workspace or list of files. Note: To exclude files from this lint rule,
you can add them to the ".nxignore" file
Options:
--help Show help [boolean]
--version Show version number [boolean]
SyntaxError: Unexpected token } in JSON at position 1072
at JSON.parse (<anonymous>)
at Workspaces.readWorkspaceConfiguration (/Users/victororlyk/Documents/work/borda/borda-frontend/node_modules/@nrwl/tao/src/shared/workspace.js:37:24)
at readWorkspaceConfig (/Users/victororlyk/Documents/work/borda/borda-frontend/node_modules/@nrwl/workspace/src/core/file-utils.js:140:21)
at Object.readWorkspaceJson (/Users/victororlyk/Documents/work/borda/borda-frontend/node_modules/@nrwl/workspace/src/core/file-utils.js:132:12)
at Object.createProjectGraph (/Users/victororlyk/Documents/work/borda/borda-frontend/node_modules/@nrwl/workspace/src/core/project-graph/project-graph.js:14:58)
at Object.workspaceLint (/Users/victororlyk/Documents/work/borda/borda-frontend/node_modules/@nrwl/workspace/src/command-line/lint.js:10:73)
at /Users/victororlyk/Documents/work/borda/borda-frontend/node_modules/@nrwl/workspace/src/command-line/nx-commands.js:64:297
at Generator.next (<anonymous>)
at fulfilled (/Users/victororlyk/Documents/work/borda/borda-frontend/node_modules/tslib/tslib.js:114:62)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comma
Environment
> NX Report complete - copy this into the issue template
Node : 12.20.0
OS : darwin x64
yarn : 1.22.10
nx : Not Found
@nrwl/angular : 12.3.6
@nrwl/cli : 12.3.6
@nrwl/cypress : 12.3.6
@nrwl/devkit : 12.3.6
@nrwl/eslint-plugin-nx : 12.3.6
@nrwl/express : Not Found
@nrwl/jest : 12.3.6
@nrwl/linter : 12.3.6
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 12.3.6
@nrwl/web : Not Found
@nrwl/workspace : 12.3.6
@nrwl/storybook : Not Found
@nrwl/gatsby : Not Found
typescript : 4.2.4
Current Behavior
When I run
it is not linting but throws an error
Expected Behavior
it should correctly lint the project
Steps to Reproduce
create project with nx
Failure Logs
Environment