Stylelint command not working.

Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
Post Reply
yasara
Registered User
Posts: 8
Joined: Sun Feb 26, 2017 7:03 pm

Stylelint command not working.

Post by yasara » Sat Apr 08, 2017 12:25 pm

I have cloned the repository phpbb and followed necessary steps needed to setup the environment. I run npm install in the project root. But when I tried to use stylelint command to check my errors, its not working. It gives me an error saying stylelint is not recognized as an internal or external command. It would be really grateful if you could help me with this.

Command I tried to use.

Code: Select all

stylelint "phpBB/styles/prosilver/theme/*.css"

User avatar
hanakin
Infrastructure Team
Infrastructure Team
Posts: 793
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: Stylelint command not working.

Post by hanakin » Sat Apr 08, 2017 11:06 pm

it will help if you post more details about your setup and everything... the stylelint stuff is all new so we are still working out all the bugs and documentation. Also you seem to have a lot of problems understanding or working with git as well so can you please provide all the following information.

1. Operating System
2. Editor
3. Folder you are running it from
4. how your running it
5. your setup steps, any and all commands you have run

if you are uncomfortable posting it all here then get on irc and dm it to me

also if you setup your editor correctly you should not need the command...

I do not use the same editor so can not confirm this but it should work if you follow these instructions

https://plugins.jetbrains.com/plugin/92 ... int-plugin

Post Reply