Skip to content

Add stylelintrc #987

@shrilakshmishastry

Description

@shrilakshmishastry

Hey @ad1992 👋

I know there are very few scss files in the repo and introducing stylelintrc doesn't add much value. But I have a few questions

  1. I tried to add stylelintrc with the below configuration
{
  "extends": ["stylelint-config-standard-scss","stylelint-config-prettier"],
  "plugins": [
    "stylelint-scss"
  ],
  "rules": {
   "selector-pseudo-class-space-before": "always"
  }
}

styleinit-config-standard-scss adds the standard rules to be followed on scss files. It expects CSS selector name to be kebab case, but we have it in the Pascal case. Any reason for using PascalCase with __?

image
  1. I know packages should be editor agonistic, but most of us use vscode, why can't we add .vscode and settings for the same?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions