Comments (8)
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.
Will be released soon.
from eslint-plugin-perfectionist.
It might also be worth adding a rule for sorting MDX props.
from eslint-plugin-perfectionist.
May I ask what is the reason for considering the removal of read-tsconfig
?
from eslint-plugin-perfectionist.
@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.
@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.
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.
Released in v2.0.0
from eslint-plugin-perfectionist.
Related Issues (20)
- Feature: Idiomatic Order
- Bug: (Failed to compile. [eslint] Cannot read properties of undefined (reading 'getTokensBetween') Occurred while linting /home/itpmbot-dev/builds/K/0/itpm-chat-bot/bot-frontend/src/index.jsx:2 Rule: "perfectionist/sort-imports") HOT 7
- Bug: sort-classes should consider initialization order HOT 2
- Bug: ignore-pattern not followed in sort-objects
- Bug: [perfectionist/sort-objects] unexpected behavior on Windows HOT 2
- Feature: (sort css static class and className)
- Feature: Respect numeric separators with natural sorting
- Feature: Ignore Bun modules
- Feature: Add partition-by-comment option to sort-enums HOT 3
- Feature: Add support for Vue order in components rules HOT 1
- Feature: Group named import/export kinds (type/value) on sort-named-imports/exports HOT 1
- Bug: TS2729: Property is used before its initialization.
- Bug: (sort-exports) does not work for 'export *' HOT 5
- Bug: (sort-object): Cannot read properties of undefined (reading 'getTokensBefore') HOT 7
- Bug: (sort-interfaces): Configuration for rule "perfectionist/sort-interfaces" is invalid when using `optionality-order` HOT 1
- Bug: (sort-objects): How to sort vue options(data, computed, watch, methods), how to ignore child sorting in methods? HOT 2
- Feature: (sort-objects) option for destructuring only HOT 5
- If something should be sorted, move all above comments with that before a blank line or a non-comment entity is found HOT 1
- Allow custom sorting for sort-array-includes
- use auto fix without any warnings or errors HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-perfectionist.