Files
signalhub-ci-mirror 275c6d8ec7
Check dist/ / check-dist (push) Failing after 6m57s
Code scanning - action / CodeQL-Build (push) Failing after 33m29s
Licensed / Check licenses (push) Failing after 2m48s
Test Proxy / test-proxy-upload (push) Failing after 1m0s
Test / Build (ubuntu-latest) (push) Failing after 5m58s
Test / Upload HTML Report (push) Failing after 5m17s
Test / Build (macos-latest) (push) Canceled after 0s
Test / Build (windows-latest) (push) Canceled after 0s
Test / Merge (push) Canceled after 0s
Test / Cleanup Artifacts (push) Canceled after 0s
Vendored snapshot of upload-artifact@v7 (no upstream history)
2026-09-18 18:02:11 +00:00

53 lines
1.4 KiB
JavaScript

import github from 'eslint-plugin-github'
import jest from 'eslint-plugin-jest'
import prettier from 'eslint-plugin-prettier/recommended'
const githubConfigs = github.getFlatConfigs()
export default [
{
ignores: ['**/node_modules/**', '**/lib/**', '**/dist/**']
},
githubConfigs.recommended,
...githubConfigs.typescript,
prettier,
{
files: ['**/*.ts'],
languageOptions: {
parserOptions: {
project: './tsconfig.eslint.json'
}
},
rules: {
'prettier/prettier': ['error', {endOfLine: 'auto'}],
'eslint-comments/no-use': 'off',
'github/no-then': 'off',
'github/filenames-match-regex': 'off',
'github/array-foreach': 'off',
'import/no-namespace': 'off',
'import/named': 'off',
'import/no-unresolved': 'off',
'i18n-text/no-en': 'off',
'filenames/match-regex': 'off',
'no-shadow': 'off',
'no-unused-vars': 'off',
'no-undef': 'off',
camelcase: 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-shadow': 'off',
'@typescript-eslint/array-type': 'off',
'@typescript-eslint/no-require-imports': 'off'
}
},
{
files: ['**/__tests__/**/*.ts'],
...jest.configs['flat/recommended'],
rules: {
...jest.configs['flat/recommended'].rules,
'jest/expect-expect': 'off',
'jest/no-conditional-expect': 'off'
}
}
]