Update checked-in dependencies
This commit is contained in:
parent
aab34601c1
commit
d853bec339
3889 changed files with 146268 additions and 299 deletions
6
node_modules/eslint-plugin-github/README.md
generated
vendored
6
node_modules/eslint-plugin-github/README.md
generated
vendored
|
|
@ -56,9 +56,11 @@ export default [
|
|||
```
|
||||
|
||||
> [!NOTE]
|
||||
> If you configured the `filenames/match-regex` rule, please note we have adapted the match regex rule into `eslint-plugin-github` as the original `eslint-filenames-plugin` is no longer maintained and needed an ESLint v9 update. Please update the name to `github/filenames-match-regex` and keep the same configuration. For e.g.:
|
||||
> If you configured the `filenames/match-regex` rule, please note we have adapted the match regex rule into `eslint-plugin-github` as the original `eslint-filenames-plugin` is no longer maintained and needed a flat config support update.
|
||||
>
|
||||
> Please update the name to `github/filenames-match-regex`, and note, the default rule is kebab case or camelCase with one hump. For custom configuration, such as matching for camelCase regex, here's an example:
|
||||
>
|
||||
> `'github/filenames-match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$']`
|
||||
> `'github/filenames-match-regex': ['error', '^([a-z0-9]+)([A-Z][a-z0-9]+)*$'],`
|
||||
|
||||
The available configs are:
|
||||
|
||||
|
|
|
|||
2
node_modules/eslint-plugin-github/lib/configs/flat/recommended.js
generated
vendored
2
node_modules/eslint-plugin-github/lib/configs/flat/recommended.js
generated
vendored
|
|
@ -32,7 +32,7 @@ module.exports = {
|
|||
'eslintComments/no-unused-disable': 'error',
|
||||
'eslintComments/no-unused-enable': 'error',
|
||||
'eslintComments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
|
||||
'github/filenames-match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'],
|
||||
'github/filenames-match-regex': 'error',
|
||||
'func-style': ['error', 'declaration', {allowArrowFunctions: true}],
|
||||
'github/array-foreach': 'error',
|
||||
'github/no-implicit-buggy-globals': 'error',
|
||||
|
|
|
|||
3
node_modules/eslint-plugin-github/lib/rules/filenames-match-regex.js
generated
vendored
3
node_modules/eslint-plugin-github/lib/rules/filenames-match-regex.js
generated
vendored
|
|
@ -25,7 +25,8 @@ module.exports = {
|
|||
},
|
||||
|
||||
create(context) {
|
||||
const defaultRegexp = /^([a-z0-9]+)([A-Z][a-z0-9]+)*$/g
|
||||
// GitHub's default is kebab case or one hump camel case
|
||||
const defaultRegexp = /^[a-z0-9-]+(.[a-z0-9-]+)?$/
|
||||
const conventionRegexp = context.options[0] ? new RegExp(context.options[0]) : defaultRegexp
|
||||
const ignoreExporting = context.options[1] ? context.options[1] : false
|
||||
|
||||
|
|
|
|||
2
node_modules/eslint-plugin-github/package.json
generated
vendored
2
node_modules/eslint-plugin-github/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eslint-plugin-github",
|
||||
"version": "5.1.3",
|
||||
"version": "5.1.4",
|
||||
"description": "An opinionated collection of ESLint shared configs and rules used by GitHub.",
|
||||
"main": "lib/index.js",
|
||||
"entries": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue