File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 pull_request :
55 branches :
66 - ' main'
7- - ' release/*'
87 - ' dependabot/*'
98
109 push :
1110 branches :
1211 - ' main'
13- - ' release/*'
12+ tags :
13+ - ' *'
1414
1515concurrency :
1616 group : ${{ github.head_ref || github.run_id }}
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 }}
Original file line number Diff line number Diff line change 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 )
You can’t perform that action at this time.
0 commit comments