Code Monkey home page Code Monkey logo

spaceribs's Introduction

And was there anything of value in the car?

Oh, uh, yeah, uh… a tape deck, some Creedence tapes, and there was a, uh… uh, my briefcase.

In the briefcase?

Uh, uh, papers, um, just papers, uh, you know, uh, my papers, business papers.

And what do you do, sir?

I’m unemployed.


Hello, I'm a UI Architect.

Contact: https://keybase.io/spaceribs | Monorepo: https://github.com/spaceribs/spaceribs | Mastodon

spaceribs's People

Contributors

d0whc3r avatar dependabot[bot] avatar spaceribs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

d0whc3r

spaceribs's Issues

Unable to use nx-web-ext with TS 5.x

I tried to update to latest, but in my project I'm using typescript @ 5.0.4

Since the typescript and rxjs dependencies are now locked to a specific minor version (~ instead of ^), it's a no-go.

Any reason the change was made to lock down to a specific minor version of those dependencies?

rule which requires parserServices, provide "parserOptions.project" for @typescript-eslint/parser

Hi Spaceribs,
I've just installed your NX-betterer-plugin and i managed to get it partially running. I think it is a good improvement for my NX-workspace.

Do you any tips on how i could use typescript-eslint-rules?
I also looked at betterer-github and the proposed solutions did not work for me.

My .betterer.ts file:

const typescript = require('@betterer/typescript');
const eslint = require('@betterer/eslint');

module.exports = {
  'stricter compilation': () =>
    typescript
      .typescript('./tsconfig.lib.json', {
        strict: true,
      })
      .include('./src/**/*.ts')
      .exclude(/\.spec\.ts/gi)
      .exclude(/\.stories\.ts/gi),
  'no unsafe': () => eslint.eslint({ '@typescript-eslint/no-unsafe-call': 'error' }).include('./src/**/*.ts'),
};

This gives the following error message:

Error:Error while loading rule '@typescript-eslint/no-unsafe-call': You have
      used a rule which requires parserServices to be generated. You must
      therefore provide a value for the "parserOptions.project" property for
      @typescript-eslint/parser.
      Occurred while linting

My .eslintrc.json file looks partially like this:

{
  "extends": ["../../../.eslintrc.json"],
  "ignorePatterns": ["!**/*"],
  "overrides": [
    {
      "files": ["*.ts"],
      "extends": ["plugin:@nx/angular", "plugin:@angular-eslint/template/process-inline-templates"],
      "parserOptions": {
        "project": [
          "libs/myapp/shared/tsconfig.*?.json",
          "libs/myapp/shared/.storybook/tsconfig.json"
        ]
      },      
    }
  ]
}

any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.