Skip to content

Commit fc2331c

Browse files
dependabot[bot]gstraccini[bot]guibranco
authored
Bump eslint-plugin-github from 5.1.8 to 6.0.0 (#380)
* Bump eslint-plugin-github from 5.1.8 to 6.0.0 Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github) from 5.1.8 to 6.0.0. - [Release notes](https://github.com/github/eslint-plugin-github/releases) - [Commits](github/eslint-plugin-github@v5.1.8...v6.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-github dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update eslint.config.mjs * Update eslint.config.mjs * Update eslint.config.mjs * Update eslint.config.mjs * Update eslint.config.mjs --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gstraccini[bot] <150967461+gstraccini[bot]@users.noreply.github.com> Co-authored-by: Guilherme Branco Stracini <[email protected]>
1 parent b4a3e45 commit fc2331c

File tree

3 files changed

+43
-21
lines changed

3 files changed

+43
-21
lines changed

.github/linters/eslint.config.mjs

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import jest from 'eslint-plugin-jest'
2+
import githubPlugin from 'eslint-plugin-github';
3+
import prettierPlugin from 'eslint-plugin-prettier';
24
import typescriptEslint from '@typescript-eslint/eslint-plugin'
35
import globals from 'globals'
46
import tsParser from '@typescript-eslint/parser'
@@ -31,7 +33,6 @@ export default [
3133
'eslint:recommended',
3234
'plugin:@typescript-eslint/eslint-recommended',
3335
'plugin:@typescript-eslint/recommended',
34-
'plugin:github/recommended',
3536
'plugin:jest/recommended',
3637
),
3738
{
@@ -66,7 +67,6 @@ export default [
6667
'import/no-namespace': 'off',
6768
'no-console': 'off',
6869
'no-unused-vars': 'off',
69-
'prettier/prettier': 'error',
7070
'filenames/match-regex': 'off',
7171
semi: 'off',
7272
'@typescript-eslint/array-type': 'error',
@@ -113,5 +113,39 @@ export default [
113113
'@typescript-eslint/space-before-function-paren': 'off',
114114
'@typescript-eslint/unbound-method': 'error'
115115
}
116+
},
117+
{
118+
files: ['**/*.js', '**/*.ts', '**/*.jsx', '**/*.tsx'],
119+
plugins: {
120+
github: githubPlugin
121+
},
122+
rules: {
123+
'github/array-foreach': 'error',
124+
'github/async-currenttarget': 'error',
125+
'github/no-blur': 'warn',
126+
'github/no-inner-html': 'error',
127+
'github/no-then': 'warn',
128+
'github/prefer-observers': 'warn',
129+
'github/unescaped-html-literal': 'error'
130+
}
131+
},
132+
{
133+
files: ['**/*.{js,ts,jsx,tsx,json}'],
134+
plugins: {
135+
prettier: prettierPlugin
136+
},
137+
rules: {
138+
'prettier/prettier': 'error'
139+
}
140+
},
141+
{
142+
files: ['**/*.{js,ts,jsx,tsx}'],
143+
plugins: {
144+
github: githubPlugin,
145+
prettier: prettierPlugin
146+
},
147+
rules: {
148+
'prettier/prettier': 'error'
149+
}
116150
}
117151
]

package-lock.json

Lines changed: 6 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@typescript-eslint/parser": "^8.29.1",
8282
"@vercel/ncc": "^0.38.3",
8383
"eslint": "^9.24.0",
84-
"eslint-plugin-github": "^5.1.8",
84+
"eslint-plugin-github": "^6.0.0",
8585
"eslint-plugin-jest": "^28.11.0",
8686
"eslint-plugin-jsonc": "^2.20.0",
8787
"eslint-plugin-prettier": "^5.2.6",

0 commit comments

Comments
 (0)