Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1626 RCRAInfo prod url fix and 'authAuth' fix to 'autoAuth' #1627

Merged
Merged
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
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
Loading