nstudio / xplat

Cross-platform (xplat) tools for Nx workspaces.
MIT License
369 stars 52 forks source link

Unable to lint #251

Open ziacik opened 3 years ago

ziacik commented 3 years ago

Version

nx: 11.4.0

Steps

  1. npx create-nx-workspace@latest (name "kvak", empty)
  2. cd kvak && npm i @nstudio/xplat -D
  3. nx g app mobile (nativescript, defaults)
  4. nx lint nativescript-mobile
  5. error

Error

ziacik@pop-os:~/Workspaces/kvak$ nx lint nativescript-mobile

> nx run nativescript-mobile:lint 

Linting "nativescript-mobile"...
Failed to load plugin '@angular-eslint' declared in 'apps/nativescript-mobile/.eslintrc.json#overrides[0] » plugin:@nrwl/nx/angular': Cannot find module '@angular-eslint/eslint-plugin'
Require stack:
- /home/ziacik/Workspaces/kvak/apps/nativescript-mobile/__placeholder__.js
Referenced from: /home/ziacik/Workspaces/kvak/node_modules/@nrwl/eslint-plugin-nx/src/index.js
NathanWalker commented 3 years ago

Thanks for this @ziacik we've been holding out until Nx 12 to complete the full tslint > eslint conversion to resolve all lint related issues. We'll track this one until that it out and resolved.