1.3.0 • Published 2 years ago

@7inch/stylelint-config v1.3.0

Weekly downloads
84
License
MIT
Repository
github
Last release
2 years ago

@7inch/stylelint-config

npm

English | 中文

Introduction

My stylelint config, it's friendly and works well with scss / tailwind / windicss / element plus/ vant / wechat miniprogram.

Install

npm i stylelint prettier @7inch/stylelint-config -D

Usage

Config .stylelintrc.js

module.exports = {
  extends: ["@7inch/stylelint-config"],
};

Config .stylelintignore

dist
public

Add script for package.json

{
  "scripts": {
    "stylelint": "stylelint \"**/*.{vue,css,scss}\" --fix"
  }
}

Config VSCode auto fix

Create .vscode/settings.json

{
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.codeActionsOnSave": {
    "source.fixAll.stylelint": true
  }
}

Checkout stylelint for more usage details.

License

Made with ❤️ Published under MIT License.

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago