Skip to content

Commit

Permalink
chore: update stylelint config settings
Browse files Browse the repository at this point in the history
  • Loading branch information
castastrophe committed Jan 12, 2024
1 parent b3d69af commit 4b9af79
Show file tree
Hide file tree
Showing 136 changed files with 1,902 additions and 1,195 deletions.
14 changes: 11 additions & 3 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
components/**/*-generated.css
tokens/*
components/site/*
*-generated.css

tokens/**/*.css
node_modules/**/*.css

plugins/*/expected/*
plugins/*/fixtures/*
dist/*

components/*/dist/*
components/*/node_modules/*
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,9 @@ This project includes several small scripts to help with common tasks.
- **Note** that you must run `yarn build` before running `yarn compare` to ensure that the latest build is being compared.
- `yarn refresh:env`: This copies values for the project's `.env` file (an asset never committed to the repo as it contains login secrets) by using the `.env.example` file as a template. This script is useful when you need to update the `.env` file with new values from the `.env.example` file or when you checkout or clean the repo and need to restore the `.env` file.
- `yarn refresh:directory`: This will remove any deprecated package folders that are no longer in use. The goal is to make migrating to a new project architecture easier for the most number of users.
- `yarn lint:components`: Provides helpful updates and warnings for a component's package.json file. This helps keep all components in alignment.
- `yarn lint`: Provides helpful updates and warnings for a component's package.json file. This helps keep all components in alignment.
- Use `yarn lint --fix` to automatically fix any issues that are found.
- To run on a single component, use `yarn linter accordion` (where `accordion` is the name of the component or components you want to lint).

### CLI

Expand All @@ -355,7 +357,6 @@ The following tasks are available:
- `yarn build` - Performs a build of all components
- `yarn dev` - Performs a component build, runs storybook, and serves the documentation on the default port (3000), then starts watching components and website files
- `yarn clean` - Cleans all output files for the project and all components
- `yarn watch` - Assuming a build has already been performed, re-starts starts watching components and website files. Presumes a browser is already open to your locally served docs

---

Expand Down
2 changes: 2 additions & 0 deletions components/accordion/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/actionbar/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/actionbutton/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/actiongroup/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/alertbanner/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/alertdialog/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/asset/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/assetcard/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/assetlist/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/avatar/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/badge/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/breadcrumb/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/button/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/buttongroup/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/calendar/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/card/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/checkbox/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/clearbutton/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/closebutton/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/coachindicator/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/coachmark/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/colorarea/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/colorhandle/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/colorloupe/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/colorslider/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/colorwheel/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/combobox/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/commons/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"compare": {
"executor": "nx:noop"
},
"lint": {},

"test": {
"executor": "nx:noop"
}
Expand Down
2 changes: 2 additions & 0 deletions components/contextualhelp/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/cyclebutton/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/datepicker/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/dial/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/dialog/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/divider/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/dropindicator/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/dropzone/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/fieldgroup/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/fieldlabel/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/floatingactionbutton/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
2 changes: 2 additions & 0 deletions components/helptext/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"build": {},
"clean": {},
"compare": {},
"lint": {},

"test": {
"defaultConfiguration": "scope"
}
Expand Down
Loading

0 comments on commit 4b9af79

Please sign in to comment.