Giter VIP home page Giter VIP logo

Comments (8)

azat-io avatar azat-io commented on May 22, 2024 1

We don't store dist folder in the repository. I'm planning to publish a version under the next flag early next week.

from eslint-plugin-perfectionist.

azat-io avatar azat-io commented on May 22, 2024 1

Will be released soon.

from eslint-plugin-perfectionist.

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

It might also be worth adding a rule for sorting MDX props.

from eslint-plugin-perfectionist.

13OnTheCode avatar 13OnTheCode commented on May 22, 2024

May I ask what is the reason for considering the removal of read-tsconfig ?

from eslint-plugin-perfectionist.

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

@13OnTheCode I don't think it's a good practice. It makes ESLint's work slow. Maybe it is better to set the value manually than to read the tsconfig.json file every time. What do you think about this?

from eslint-plugin-perfectionist.

13OnTheCode avatar 13OnTheCode commented on May 22, 2024

@azat-io Yes, you are right. I apologize for not carefully reading the source code earlier. I mistakenly thought that reading the TSConfig configuration file served a purpose beyond retrieving compilerOptions.paths.

Deleting it is indeed a good idea because its purpose is almost identical to internal-pattern, and people usually only set ~/** or @/**.

from eslint-plugin-perfectionist.

brightsider avatar brightsider commented on May 22, 2024

could you help me to use next version now?
I installed it by:
"eslint-plugin-perfectionist": "github:azat-io/eslint-plugin-perfectionist#next"
package-lock.json has:
"resolved": "git+ssh://[email protected]/azat-io/eslint-plugin-perfectionist.git#3210ff3b1f69702c0e4dfe7666c152828895231d",
but folder eslint-plugin-perfectionist didn't contain dist folder

also when I downloaded, builded, moved dist from next branch to installed 1.5.1, I get this error:
eslintrc.js ยป plugin:perfectionist/recommended-line-length: Configuration for rule "perfectionist/sort-imports" is invalid: Value {"groups":["type",["builtin","external"],"internal-type","internal",["parent-type","sibling-type","index-type"],["parent","sibling","index"],"object","unknown"],"custom-groups":{"value":{},"type":{}},"newlines-between":"always","internal-pattern":["~/**"],"read-tsconfig":false,"type":"line-length","order":"desc","ignore-case":false} should NOT have additional properties.

from eslint-plugin-perfectionist.

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

Released in v2.0.0

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.