-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
19,375 additions
and
6,926 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,62 @@ | ||
name: Tests | ||
on: [push, pull_request] | ||
env: | ||
CI: true | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
run: | ||
name: Node ${{ matrix.node }} on ${{ matrix.os }} | ||
lint: | ||
name: Lint | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 'lts/*' | ||
cache: npm | ||
|
||
- name: Install latest npm | ||
run: npm install --global npm@latest | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run lint | ||
|
||
test: | ||
name: Test on Node.js ${{ matrix.node }} and ${{ matrix.os }} | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node: [12, 14] | ||
os: [ubuntu-latest, windows-latest] | ||
node: [12, 14, 16] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set Node.js version | ||
uses: actions/setup-node@v1 | ||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: npm | ||
|
||
- run: node --version | ||
- run: npm --version | ||
- name: Install latest npm | ||
run: npm install --global npm@latest | ||
|
||
- name: Install npm dependencies | ||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run tests | ||
- name: Test | ||
run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
*.md | ||
__tests__/*.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,66 @@ | ||
# 5.0.0 | ||
|
||
This release adds over a dozen new rules. | ||
|
||
If needed, you can [extend the config](README.md#extending-the-config) to turn off any of the new rules. | ||
|
||
- Removed: `stylelint` less than `14.0.0` from peer dependencies. | ||
- Changed: updated to [`stylelint-config-recommended@6.0.0`](https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases/tag/6.0.0). | ||
- Added: `scss/at-extend-no-missing-placeholder` rule. | ||
- Added: `scss/at-if-no-null` rule. | ||
- Added: `scss/at-import-no-partial-leading-underscore` rule. | ||
- Added: `scss/at-import-partial-extension` rule. | ||
- Added: `scss/comment-no-empty` rule. | ||
- Added: `scss/declaration-nested-properties-no-divided-groups` rule. | ||
- Added: `scss/dollar-variable-no-missing-interpolation` rule. | ||
- Added: `scss/function-quote-no-quoted-strings-inside` rule. | ||
- Added: `scss/function-unquote-no-unquoted-strings-inside` rule. | ||
- Added: `scss/no-duplicate-mixins` rule. | ||
- Added: `scss/no-global-function-names` rule. | ||
- Added: `scss/operator-no-newline-after` rule. | ||
- Added: `scss/operator-no-newline-before` rule. | ||
- Added: `scss/operator-no-unspaced` rule. | ||
|
||
# 4.3.0 | ||
|
||
- Updated `stylelint-config-recommended` dependency to version 5.0.0. | ||
- Updated `stylelint-config-recommended` dependency to version 5.0.0. | ||
|
||
# 4.2.0 | ||
|
||
- Added: support for stylelint 13. | ||
- Added: support for stylelint 13. | ||
|
||
# 4.1.0 | ||
|
||
- Added: support for stylelint 12. | ||
- Added: support for stylelint 12. | ||
|
||
# 4.0.0 | ||
|
||
- **Breaking change** update to peer depedencies: `stylelint`@10.1.0+ and `stylelint-scss`@3.0.0+ are required now. | ||
- Updated: `stylelint-config-recommended` dependency to version 3.0.0. | ||
- Added: support for stylelint 11. | ||
- **Breaking change** update to peer depedencies: `stylelint`@10.1.0+ and `stylelint-scss`@3.0.0+ are required now. | ||
- Updated: `stylelint-config-recommended` dependency to version 3.0.0. | ||
- Added: support for stylelint 11. | ||
|
||
# 3.3.0 | ||
|
||
- Added: support for stylelint 10. | ||
- Updated `stylelint-config-recommended` dependency to version 2.2.0. | ||
- Added: support for stylelint 10. | ||
- Updated `stylelint-config-recommended` dependency to version 2.2.0. | ||
|
||
# 3.2.0 | ||
|
||
- Added: support for stylelint-scss v3. | ||
- Added: support for stylelint-scss v3. | ||
|
||
# 3.1.0 | ||
|
||
- Added: support for stylelint 9. | ||
- Added: support for stylelint 9. | ||
|
||
# 3.0.0 | ||
|
||
- Updated `stylelint-config-recommended` dependency to version 2.0.0. | ||
- Updated `stylelint` peer dependency to version 8.3.0. | ||
- Updated `stylelint-config-recommended` dependency to version 2.0.0. | ||
- Updated `stylelint` peer dependency to version 8.3.0. | ||
|
||
# 2.0.0 | ||
|
||
- Updated `stylelint-scss` dependency to version 2. | ||
- Updated `stylelint-scss` dependency to version 2. | ||
|
||
# 1.0.0 | ||
|
||
- Initial release | ||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.