mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-03 10:01:37 +00:00
chore: update Node runtime and dependencies (#1147)
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
1 parent
a1f94b5047
commit
954f6bf825
15 files changed
+6900
-4704
No files matched your search
@@ -0,0 +1,29 @@
|
||||
import js from '@eslint/js';
|
||||
import globals from 'globals';
|
||||
import tsPlugin from '@typescript-eslint/eslint-plugin';
|
||||
import jestPlugin from 'eslint-plugin-jest';
|
||||
import prettierRecommended from 'eslint-plugin-prettier/recommended';
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: ['coverage/**', 'lib/**', 'node_modules/**']
|
||||
},
|
||||
js.configs.recommended,
|
||||
...tsPlugin.configs['flat/recommended'],
|
||||
{
|
||||
files: ['src/**/*.ts', '__tests__/**/*.ts'],
|
||||
languageOptions: {
|
||||
ecmaVersion: 2022,
|
||||
globals: {
|
||||
...globals.es2022,
|
||||
...globals.node
|
||||
},
|
||||
sourceType: 'module'
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ['__tests__/**/*.ts'],
|
||||
...jestPlugin.configs['flat/recommended']
|
||||
},
|
||||
prettierRecommended
|
||||
];
|
||||
Reference in new issue
Block a user