Skip to content

Development standard base containing all the linters and IDE setup for every brand new project.

Notifications You must be signed in to change notification settings

emersoft/dev-base

Repository files navigation

style-guide-guards

Features:

  1. Stylelint
  2. Prettier for CSS, HTML and Typescript/JavaScript
  3. Husky

IDE CONFIGURATION

Project uses Prettier for code formatting.

SCSS configuration:

.stylelintrc.yml contains all rules used to format SCSS code.

Visual Studio Code:

Install following plugins:

All the plugins configuration is already included to the repo and can be found in .vscode/settings.json

You can additionally add keyboard shortcut to your keybindings.json file:

{
  "key": "ctrl+shift+c",
  "command": "postcssSorting.execute"
}

IntelliJ

Install Prettier plugin.

Add 'order/properties-order' array from .stylelintrc.yml to:

Settings / Editor / Code Style / Style sheets / SCSS / Arrangement / Custom order

You're ready to go!!

About

Development standard base containing all the linters and IDE setup for every brand new project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published