Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions .eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/veracode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
- name: 'Delete spec files'
run: find . -type f -name '*.spec.ts' -delete

- name: 'Delete reportWebVitals files'
run: find . -type f -name 'reportWebVitals.ts' -delete

- name: 'Delete type files'
run: find . -type f -name '*.d.ts' -delete

Expand Down
48 changes: 48 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// eslint.config.mjs
import js from '@eslint/js';
import react from 'eslint-plugin-react';
import ts from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import globals from 'globals';

export default [
js.configs.recommended,
{
files: ['**/*.{js,jsx,ts,tsx}'],
plugins: { react },
languageOptions: {
globals: globals.browser,
},
rules: {
...react.configs.recommended.rules,
},
settings: {
react: {
version: 'detect',
},
},
},
{
files: ['**/*.{ts,tsx}'],
languageOptions: {
parser: tsParser,
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: {
'@typescript-eslint': ts,
},
rules: {
...ts.configs.recommended.rules,

semi: 'off',

'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',

'no-bitwise': 'off',
'prefer-const': 'error',
},
},
];
Loading
Loading