Skip to content

Commit

Permalink
Merge branch 'dev' into pir-trigger-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsounet authored Jan 12, 2025
2 parents 129c8bc + 2592b3c commit 3d15fef
Show file tree
Hide file tree
Showing 17 changed files with 2,979 additions and 2,048 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/css.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "CSS Testing"

on: [pull_request]

jobs:
eslint:
name: Run stylelint css scanning
runs-on: ubuntu-latest
steps:
- name: "Use Node.js v20.x (latest)"
uses: actions/setup-node@v4
with:
node-version: "20.x"
check-latest: true

- name: Checkout code
uses: actions/checkout@v4

- name: Install Dependencies
run: npm run dependencies && npm prune

- name: Run stylelint
run: npm run test:css
continue-on-error: false
24 changes: 24 additions & 0 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Markdown Testing"

on: [pull_request]

jobs:
eslint:
name: Run ReadMe Markdown scanning
runs-on: ubuntu-latest
steps:
- name: "Use Node.js v20.x (latest)"
uses: actions/setup-node@v4
with:
node-version: "20.x"
check-latest: true

- name: Checkout code
uses: actions/checkout@v4

- name: Install Dependencies
run: npm run dependencies && npm prune

- name: Run markdownlint-cli2
run: npm run test:markdown
continue-on-error: false
9 changes: 9 additions & 0 deletions .markdownlint-cli2.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const options = {
"config": {
"MD013": {
"line_length": 350
}
}
};

export default options;
12 changes: 12 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": ["stylelint-config-standard"],
"plugins": ["stylelint-prettier"],
"rules": {
"prettier/prettier": true,
"selector-id-pattern": null,
"custom-property-pattern": null,
"selector-class-pattern": null,
"keyframes-name-pattern": null,
"no-descending-specificity": null
}
}
2 changes: 1 addition & 1 deletion MMM-Pir.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@

#MMM-PIR_AVAILABILITY_TEXT {
margin-right: 10px;
}
}
Loading

0 comments on commit 3d15fef

Please sign in to comment.