Comments (13)
Your archives are missing a file called `.stylelintrc'.
Try this Archive.zip. I updated all dependencies and added config. Stylelint is correctly indicating indentation errors.
from stylelint-stylistic.
@firefoxic can you provide config list with recommended settings in your package along with rules so others can extend instead of writing long list of rules?
from stylelint-stylistic.
@firefoxic can you provide config list with recommended settings in your package along with rules so others can extend instead of writing long list of rules?
I have my own config that I use.
from stylelint-stylistic.
Hi! I could change the version to ^15.0.0
. But that doesn't seem to solve your problem, because stylelint-order
requires stylelint@^14.0.0
.
And I deliberately removed stylelint@^14.16.1
from peerDependencies
with a separate release that doesn't change anything significant except that dependency. This is so that you can use 0.1.5
to gradually move from stylelint@14
to stylelint@15
. You can periodically check if all dependencies are working by updating this plugin to version 0.2.0
and rolling back to 0.1.5
if there are still conflicts.
By the way, major version 1.0.0
will be released after the stylelint@16
release, which will remove the deprecated rules altogether.
In summary, use stylelint-codeguide@~0.1.5
and let me know if your tools work with it or not.
P.S. Perhaps I should have written a migration guide 🤔
from stylelint-stylistic.
Hello @firefoxic,
Thanks for your response and suggestions.
I have tried to downgrade the package version but nothing is changed.
Screen.Recording.2023-07-05.at.4.00.01.PM.mov
from stylelint-stylistic.
I have tried to downgrade the package version but nothing is changed.
The stylelint
itself needs to be downgraded to ^14.16.1
. Not for the stylelint-codeguide
, but for the stylelint-order
, which depends on ^14.0.0
.
from stylelint-stylistic.
I have also reproduced the same issue in a fresh blank project. Please find the attached zip file.
from stylelint-stylistic.
I have also reproduced the same issue in a fresh blank project. Please find the attached zip file.
In the archive, stylelint-codeguide
is not involved in the conflict.
Even if you remove this plugin completely, you still have dependency conflicts. stylelint-config-idiomatic-order
depends on stylelint@^14
, and stylelint-config-standard-scss
depends on stylelint@^15+
.
You should then roll back stylelint-config-standard-scss
to the version that depends on stylelint@14
. Then roll back stylelint
itself to 14.16.1
. And you can use stylelint-codeguide@~0.1.5
in that set.
If you really need stylelint-config-idiomatic-order
, you will have to wait for it to update and require stylelint@^15
.
from stylelint-stylistic.
Hello @firefoxic,
Thanks for your valuable response.
I have tried to remove stylelint-config-idiomatic-order
from my project but indentation still does not work.
It would be a great help if you help me to work on indentation and other rules after removing the order
package.
from stylelint-stylistic.
I have also tried to remove some other plugins and it seems to work. But I face a weird issue the indentation does not work when there are some comments. Refer Gif:
Screen.Recording.2023-07-05.at.6.37.04.PM.mov
Also, I need to add all rules to make it work. Is there any way to import all rules?
Please find the updated reproduction:
Archive.zip
from stylelint-stylistic.
Hello @firefoxic,
Should I need to import every rule that I wish to utilize, or are all rules automatically imported by default?
from stylelint-stylistic.
Should I need to import every rule that I wish to utilize, or are all rules automatically imported by default?
This is not a config with which you can extend your config, but a plugin that provides rules (which deprecated in Stylelint itself). As with Stylelint rules themselves, if there is a rule of the plugin you want to use, you need to specify it in your config.
from stylelint-stylistic.
Hello @firefoxic,
Thanks for the great help.
~ Best Regards
from stylelint-stylistic.
Related Issues (16)
- node engine version is pinned to a patch version of node HOT 1
- Latest update generate errors: `Cannot find module rules.js`
- Node version in package.json HOT 3
- add support to stylelint 16 HOT 1
- Add default config to export HOT 9
- Specify tab size for `codeguide/indentation`, which affects `codeguide/max-line-length` HOT 1
- Not Listed in NPM packages HOT 5
- `string-quotes`: fix @charset quotes
- Problem with unknown rule errors HOT 2
- Add `named-grid-areas-alignment` rule HOT 8
- Add a rule to keep `aspect-ratio` values consistent HOT 5
- Rule to enforce / disallow shortened value for `aspect-ratio` HOT 4
- Options documentation HOT 2
- Fix `block-closing-brace-empty-line-before` with `after-closing-brace` false negatives for CSS Nesting HOT 3
- Rule to enforce consistent order of composite values HOT 6
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 stylelint-stylistic.