Skip to content

Commit

Permalink
1626 RCRAInfo prod url fix and 'authAuth' fix to 'autoAuth' (#1627)
Browse files Browse the repository at this point in the history
* update prod base URL and increment patch version

* fix misspelled 'autoAuth' which was previously 'authAuth'

* install eslint dependencies

* add eslint development dependency for the project

* update mock service worker and implement test to check authentication process
  • Loading branch information
dpgraham4401 authored Aug 28, 2024
1 parent d40fcfd commit e062281
Show file tree
Hide file tree
Showing 11 changed files with 1,536 additions and 205 deletions.
13 changes: 6 additions & 7 deletions emanifest-js/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
.vscode/
src/
**/*.tgz
**/tests/
docs/
.github/
tsconfig.json
tslint.json
.prettierrc
.env
.eslintrc.json
.prettierrc.json
**/.env
eslint.config.js
.gitignore
*.txt
*.bak
*.zip
**/*.txt
**/*.bak
**/*.zip
5 changes: 0 additions & 5 deletions emanifest-js/.prettierrc

This file was deleted.

21 changes: 21 additions & 0 deletions emanifest-js/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"tabWidth": 2,
"useTabs": false,
"printWidth": 100,
"singleQuote": true,
"semi": true,
"bracketSpacing": true,
"bracketSameLine": false,
"trailingComma": "es5",
"overrides": [
{
"files": [
"*.yaml",
"*.yml"
],
"options": {
"singleQuote": true
}
}
]
}
40 changes: 40 additions & 0 deletions emanifest-js/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import pluginJs from '@eslint/js';
import tsEslint from 'typescript-eslint';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';

export default [
pluginJs.configs.recommended,
...tsEslint.configs.recommended,
...tsEslint.configs.stylistic,
eslintPluginPrettierRecommended,
{
name: 'ignore-outputs',
ignores: ['**/build/', '**/dist/', '**/node_modules/', '**/.next/'],
},
{
name: 'ts-migration-relax',
files: ['**/*.{ts,tsx}'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-empty-function': 'off',
},
},
{
name: 'ts-unused-vars',
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
{
args: 'all',
argsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
varsIgnorePattern: '^_',
// ignoreRestSiblings: true, - if you want to ignore unused rest siblings
},
],
},
},
];
Loading

0 comments on commit e062281

Please sign in to comment.