Skip to content

Commit

Permalink
Fix stylelint packages (#65)
Browse files Browse the repository at this point in the history
The stylelint config was referencing a package that wasn't being
installed.

Also upgrades the CLI.
  • Loading branch information
TylerJang27 authored Jan 23, 2024
1 parent c72ef93 commit fbf6b36
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
plugins
user_trunk.yaml
user.yaml
tmp
8 changes: 5 additions & 3 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
version: 0.1
cli:
version: 1.18.1
version: 1.19.0
plugins:
sources:
- id: trunk
uri: https://github.com/trunk-io/plugins
ref: v1.4.0
ref: v1.4.2

- id: configs
local: .
# see plugin.yaml for enabled linters
# lint:
lint:
disabled:
- eslint
# enabled: []
4 changes: 4 additions & 0 deletions configs/.stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('stylelint').Config} */
module.exports = {
extends: ["stylelint-config-standard-scss", "stylelint-config-clean-order"],
};
4 changes: 0 additions & 4 deletions configs/.stylelintrc.yaml

This file was deleted.

7 changes: 5 additions & 2 deletions plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ lint:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]:
packages:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Expand All @@ -97,7 +100,7 @@ lint:
- configs/rustfmt.toml
- configs/.shellcheckrc
- configs/.sqlfluff
- configs/.stylelintrc.yaml
- configs/.stylelintrc.js
- configs/svgo.config.js
- configs/.yamllint.yaml

Expand Down

0 comments on commit fbf6b36

Please sign in to comment.