Giter VIP home page Giter VIP logo

Comments (7)

bab2683 avatar bab2683 commented on May 29, 2024 1

To use typescript however, is necessary due to the differences in AST format. at least that's what they say right in the first line https://typescript-eslint.io/packages/parser/. I thought this eslint plugin was compatible with the whole @typescript-eslint suite due to the sort-interfaces rule and also because it's listed as dependency.

We use the parser in the overwrites because we have both js and ts files in the project

from eslint-plugin-perfectionist.

azat-io avatar azat-io commented on May 29, 2024

Looks like a problem with the typescript-eslint version.
What package manager are you using?

from eslint-plugin-perfectionist.

bab2683 avatar bab2683 commented on May 29, 2024

We're using [email protected] and @typescript-eslint/[email protected]

from eslint-plugin-perfectionist.

bab2683 avatar bab2683 commented on May 29, 2024

BTW, I just tried upgrading @typescript-eslint/eslint-plugin, @typescript-eslint/parser and @typescript-eslint/utils to latest non breaking version 6.21.0 and the issue is still reproducible

from eslint-plugin-perfectionist.

azat-io avatar azat-io commented on May 29, 2024

Do you have the ability to create a small repository to reproduce the problem?

from eslint-plugin-perfectionist.

bab2683 avatar bab2683 commented on May 29, 2024

Hi, sorry for the delay, you can reproduce it here:
https://github.com/bab2683/perfectionist-121

from eslint-plugin-perfectionist.

azat-io avatar azat-io commented on May 29, 2024
image

Looks like the removing parser fix this issue.

from eslint-plugin-perfectionist.

Related Issues (20)

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.