Skip to content

Commit b2fa271

Browse files
chore(deps): bump super-linter/super-linter from 6.8.0 to 7.1.0 (#22)
* chore(deps): bump super-linter/super-linter from 6.8.0 to 7.1.0 Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 6.8.0 to 7.1.0. - [Release notes](https://github.com/super-linter/super-linter/releases) - [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md) - [Commits](super-linter/super-linter@b4515bd...b92721f) --- updated-dependencies: - dependency-name: super-linter/super-linter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: fixup linting --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Sanders <[email protected]>
1 parent 827af60 commit b2fa271

File tree

6 files changed

+18
-48
lines changed

6 files changed

+18
-48
lines changed

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Lint Codebase
4040
id: super-linter
41-
uses: super-linter/super-linter/slim@b4515bd4ad9d0aa4681960e053916ab991bdbe96 # v6.8.0
41+
uses: super-linter/super-linter/slim@b92721f792f381cedc002ecdbb9847a15ece5bb8 # v7.1.0
4242
env:
4343
DEFAULT_BRANCH: main
4444
FILTER_REGEX_EXCLUDE: dist/**/*

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dist/
22
node_modules/
33
coverage/
4+
**/*.yml

.releaserc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
"@semantic-release/release-notes-generator",
55
"@semantic-release/github"
66
],
7-
"branches": [ "main" ]
7+
"branches": ["main"]
88
}
9-

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: dsanders11/json-schema-validate-action
2929
with:
3030
schema: https://json.schemastore.org/github-workflow.json
31-
files: .github/workflows/**.yml
31+
files: .github/workflows/**.yml
3232
```
3333
3434
### Validating Schema
@@ -49,8 +49,8 @@ simply set a URL fragment (e.g. `#bust-cache`) on the schema URL.
4949
globs
5050
- `fail-on-invalid` - Whether or not to set action failure if a file is invalid
5151
(default: `true`)
52-
- `cache-remote-schema` - Whether or not to cache the schema if remote
53-
(default: `true`)
52+
- `cache-remote-schema` - Whether or not to cache the schema if remote (default:
53+
`true`)
5454

5555
### Outputs
5656

__tests__/fixtures/evm-config.schema.json

Lines changed: 10 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,13 @@
2828
"goma": {
2929
"description": "Goma mode to use",
3030
"type": "string",
31-
"enum": [
32-
"cache-only",
33-
"cluster",
34-
"none"
35-
],
31+
"enum": ["cache-only", "cluster", "none"],
3632
"default": "cache-only"
3733
},
3834
"gomaSource": {
3935
"description": "Goma client is from a non-default source",
4036
"type": "string",
41-
"enum": [
42-
"msft"
43-
]
37+
"enum": ["msft"]
4438
},
4539
"root": {
4640
"description": "Path of the top directory. Home of the .gclient file",
@@ -83,15 +77,11 @@
8377
}
8478
},
8579
"additionalProperties": false,
86-
"required": [
87-
"origin"
88-
]
80+
"required": ["origin"]
8981
}
9082
},
9183
"additionalProperties": false,
92-
"required": [
93-
"electron"
94-
]
84+
"required": ["electron"]
9585
},
9686
"gen": {
9787
"description": "Configuration for GN",
@@ -112,10 +102,7 @@
112102
}
113103
},
114104
"additionalProperties": false,
115-
"required": [
116-
"args",
117-
"out"
118-
]
105+
"required": ["args", "out"]
119106
},
120107
"env": {
121108
"description": "Environment variables set when building Electron",
@@ -132,27 +119,19 @@
132119
"minLength": 1
133120
}
134121
},
135-
"required": [
136-
"CHROMIUM_BUILDTOOLS_PATH"
137-
]
122+
"required": ["CHROMIUM_BUILDTOOLS_PATH"]
138123
},
139124
"configValidationLevel": {
140125
"description": "Validation level for this configuration",
141126
"type": "string",
142-
"enum": [
143-
"strict",
144-
"warn",
145-
"none"
146-
],
127+
"enum": ["strict", "warn", "none"],
147128
"default": "strict"
148129
}
149130
},
150131
"additionalProperties": false,
151132
"oneOf": [
152133
{
153-
"required": [
154-
"extends"
155-
]
134+
"required": ["extends"]
156135
},
157136
{
158137
"properties": {
@@ -161,19 +140,10 @@
161140
"pattern": "chrome"
162141
}
163142
},
164-
"required": [
165-
"defaultTarget",
166-
"env",
167-
"root"
168-
]
143+
"required": ["defaultTarget", "env", "root"]
169144
},
170145
{
171-
"required": [
172-
"root",
173-
"remotes",
174-
"gen",
175-
"env"
176-
]
146+
"required": ["root", "remotes", "gen", "env"]
177147
}
178148
]
179149
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"scripts": {
2828
"bundle": "npm run format:write && npm run package",
2929
"ci-test": "vitest run --coverage --reporter=verbose",
30-
"format:write": "prettier --write **/*.ts",
31-
"format:check": "prettier --check **/*.ts",
30+
"format:write": "npx prettier --write .",
31+
"format:check": "npx prettier --check .",
3232
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
3333
"package": "ncc build src/index.ts --license licenses.txt",
3434
"package:watch": "npm run package -- --watch",

0 commit comments

Comments
 (0)