Files
tasknote/client/eslint.config.mjs
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>RMCamposrmcampos
1aa8ded9b3 feat: Integrate Cypress for E2E authentication testing (#39)
* Initial plan

* feat: add Cypress E2E testing for auth flows

Agent-Logs-Url: https://github.com/RMCampos/tasknote/sessions/f3b4e747-3e09-4b6c-8b4c-336cf45b59c4

Co-authored-by: RMCampos <2219519+RMCampos@users.noreply.github.com>

* fix: use regex intercepts and unique emails in Cypress auth tests

Agent-Logs-Url: https://github.com/RMCampos/tasknote/sessions/2a1225d9-9412-459e-bc97-93303454a461

Co-authored-by: RMCampos <2219519+RMCampos@users.noreply.github.com>

* fix: use PUT method for sign-up intercepts in Cypress auth tests

Agent-Logs-Url: https://github.com/RMCampos/tasknote/sessions/bda14dfc-a30d-4c01-aa74-e8c2690072e3

Co-authored-by: RMCampos <2219519+RMCampos@users.noreply.github.com>

* chore: update tools.md file to include sql command

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RMCampos <2219519+RMCampos@users.noreply.github.com>
Co-authored-by: Ricardo Campos <ricardompcampos@gmail.com>
2026-05-06 17:21:17 -03:00

64 lines
1.3 KiB
JavaScript

import globals from 'globals';
import { fixupConfigRules } from '@eslint/compat';
import jsLint from '@eslint/js';
import tsLint from 'typescript-eslint';
import pluginReactConfig from 'eslint-plugin-react/configs/recommended.js';
import stylistic from '@stylistic/eslint-plugin';
export default [
{
files: ['**/*.{ts,tsx}']
},
{
languageOptions: {
// common parser options, enable TypeScript and JSX
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module'
}
}
},
{
ignores: [
'**/__test__/*',
'cypress/**',
'**/assets/*',
'**/*.scss',
'**/*.css',
'**/*.svg'
]
},
{
languageOptions: {
globals: { ...globals.browser, ...globals.node }
}
},
{
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', ',ts', '.tsx']
}
},
'react': {
pragma: 'React',
fragment: 'Fragment',
version: '18.3'
}
}
},
// syntax rules
jsLint.configs.recommended,
...tsLint.configs.recommended,
...fixupConfigRules(pluginReactConfig),
// code style rules
stylistic.configs['disable-legacy'],
stylistic.configs.customize({
indent: 2,
quotes: 'single',
semi: true,
commaDangle: 'never',
jsx: true
})
];