Skip to content

Commit 7c13e46

Browse files
tiagoloureirosrtab
authored andcommitted
updated README
1 parent 34cc3e3 commit 7c13e46

2 files changed

Lines changed: 22 additions & 19 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
pull_request:
55
branches:
66
- 'main'
7-
- 'release/*'
87
- 'dependabot/*'
98

109
push:
1110
branches:
1211
- 'main'
13-
- 'release/*'
12+
tags:
13+
- '*'
1414

1515
concurrency:
1616
group: ${{ github.head_ref || github.run_id }}
@@ -36,18 +36,3 @@ jobs:
3636
run: npm ci
3737
- name: Run tests
3838
run: npm run lint
39-
build:
40-
runs-on: ubuntu-latest
41-
needs: lint
42-
steps:
43-
- uses: actions/checkout@v4
44-
# Setup .npmrc file to publish to npm
45-
- uses: actions/setup-node@v3
46-
with:
47-
node-version: 'lts/*'
48-
cache: 'npm'
49-
registry-url: 'https://registry.npmjs.org'
50-
- run: npm ci
51-
- run: npm publish
52-
env:
53-
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1-
# stylelint-config-dipcode
1+
# Dipcode Stylelint config
22

3-
Shareable stylelint config for CSS and SCSS, following Dipcode code style.
3+
> Shareable Stylelint config for CSS and SCSS, following Dipcode code style.
4+
5+
- [Usage](#usage)
6+
- [Links](#links)
7+
8+
## Usage
9+
10+
Our default export contains all of our Stylelint rules, along with specific plugins for SCSS syntax.
11+
12+
1. Run `npm install stylelint @dipcode/stylelint-config --save-dev`
13+
2. Add `"extends": "@dipcode/stylelint-config"` to your `.stylelintrc`
14+
15+
## Links
16+
17+
- [Stylelint](https://stylelint.io/)
18+
- [stylelint-config-standard-scss](https://www.npmjs.com/package/stylelint-config-standard-scss)
19+
- [stylelint-config-prettier-scss](https://www.npmjs.com/package/stylelint-config-prettier-scss)
20+
- [stylelint-order](https://www.npmjs.com/package/stylelint-order)
21+
- [stylelint-declaration-strict-value](https://www.npmjs.com/package/stylelint-declaration-strict-value)

0 commit comments

Comments
 (0)