Skip to content

Commit

Permalink
v16.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xt0rted committed Mar 28, 2024
1 parent f4ccd4c commit 9562d67
Show file tree
Hide file tree
Showing 25 changed files with 371 additions and 1,050 deletions.
8 changes: 1 addition & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@ indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.js]
[*.{js,cjs,mjs}]
end_of_line = lf

[*Formatter.js]
end_of_line = lf
indent_style = tab
indent_size = 1
tab_width = 2

[*.yml]
indent_size = 2

Expand Down
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* text=auto

*.js text eol=lf
*.cjs text eol=lf
*.mjs text eol=lf
*.ts text eol=lf

package.json text eol=lf
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
fail-fast: false
matrix:
node:
- 14
- 16
- 18
- 20
- current
os:
- macos-latest
- ubuntu-latest
Expand All @@ -44,3 +43,14 @@ jobs:
- run: npm ci

- run: npm test

# Integration tests
- uses: xt0rted/[email protected]

- name: Install integration test dependencies
run: npm install
working-directory: test

- name: Run integration tests
run: npm test
working-directory: test
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [16.0.0](https://github.com/xt0rted/stylelint-actions-formatters/compare/v15.11.0...v16.0.0) - 2024-03-27

- Synced code with [stylelint 16.0.0](https://github.com/stylelint/stylelint/releases/tag/16.0.0)
- Changed `.js` extension to `.mjs` and `.cjs`

## [15.11.0](https://github.com/xt0rted/stylelint-actions-formatters/compare/v15.10.3...v15.11.0) - 2023-12-28

- Synced code with [stylelint 15.11.0](https://github.com/stylelint/stylelint/releases/tag/15.11.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ It also has a peer dependency on that version.
### Verbose formatter

```console
stylelint "scss/**/*.scss" --custom-formatter=node_modules/stylelint-actions-formatters/src/verboseFormatter.js
stylelint "scss/**/*.scss" --custom-formatter=node_modules/stylelint-actions-formatters/src/verboseFormatter.mjs
```

> Note: If you're not running on GitHub Actions then these reporters will function the same as the ones that ship with Stylelint.
4 changes: 2 additions & 2 deletions jest.config.js → jest.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
export default {
clearMocks: true,
testEnvironment: 'node',
testMatch: ['**/*.test.{js,mjs}'],
testMatch: ['**/*.test.mjs'],
testRunner: 'jest-circus/runner',
verbose: true,
};
Loading

0 comments on commit 9562d67

Please sign in to comment.