Skip to content
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
1 change: 0 additions & 1 deletion .eslintignore-lib

This file was deleted.

95 changes: 0 additions & 95 deletions .eslintrc

This file was deleted.

98 changes: 98 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
module.exports = {
// Global settings
plugins: ['import', 'mocha'],
extends: [
'oclif',
'oclif-typescript',
'plugin:mocha/recommended',
],
ignorePatterns: ['**/test/**/*.js', '**/oldCommands/**/*', 'packages/*/lib/**'],

// TypeScript settings
overrides: [
{
files: ['**/*{.ts,tsx}'],
settings: {
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
typescript: {
project: 'packages/*/tsconfig.json',
},
},
},
},
{
files: ['**/test/**/*.ts', '**/test/**/*.js', 'test/**/*.ts', 'test/**/*.js'],
rules: {
'mocha/prefer-arrow-callback': 'off',
'prefer-arrow-callback': 'off',
},
},
],

rules: {
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-unused-vars': ['warn', {ignoreRestSiblings: true}], // TODO: fix issues and turn this back on
camelcase: 'off',
'func-names': 'warn', // TODO: fix issues and turn this back on
'import/default': 'warn',
'import/namespace': 'warn',
'import/no-unresolved': 'error',
indent: ['error', 2, {MemberExpression: 1}],
'mocha/max-top-level-suites': ['warn', {limit: 2}],
'mocha/no-exports': 'warn',
'mocha/no-mocha-arrows': 'warn',
'mocha/no-setup-in-describe': 'warn',
'n/no-deprecated-api': 'warn', // TODO: fix issues and turn this back on
'n/no-unsupported-features/es-builtins': 'warn', // TODO: fix issues and turn this back on
'n/no-unsupported-features/node-builtins': 'warn', // TODO: fix issues and turn this back on
'no-await-in-loop': 'off', // Perfect legit to use await in loops, we should leave it off
'no-constant-condition': ['error', {checkLoops: false}],
'no-else-return': 'warn', // TODO: fix issues and turn this back on
'no-negated-condition': 'warn', // TODO: fix issues and turn this back on
'no-process-exit': 'off',
'no-promise-executor-return': 'warn', // TODO: fix issues and turn this back on
'no-prototype-builtins': 'warn', // TODO: fix issues and turn this back on
'no-return-await': 'warn', // TODO: fix issues and turn this back on
'node/no-missing-import': 'off', // using import/no-unresolved instead
'object-curly-newline': 'warn',
'perfectionist/sort-classes': 'warn',
'perfectionist/sort-imports': 'warn',
'perfectionist/sort-interfaces': 'warn',
'perfectionist/sort-intersection-types': 'warn',
'perfectionist/sort-named-imports': 'warn',
'perfectionist/sort-object-types': 'warn',
'perfectionist/sort-objects': 'warn',
'perfectionist/sort-union-types': 'warn',
'prefer-object-spread': 'warn',
radix: 'warn', // TODO: fix issues and turn this back on
'unicorn/better-regex': 'off', // TODO: fix issues and turn this back on
'unicorn/consistent-function-scoping': 'off', // TODO: fix issues and turn this back on
'unicorn/filename-case': 'off',
'unicorn/import-style': 'off',
'unicorn/no-abusive-eslint-disable': 'off',
'unicorn/no-array-callback-reference': 'off',
'unicorn/no-array-for-each': 'off',
'unicorn/no-array-reduce': 'warn', // TODO: fix issues and turn this back on
'unicorn/no-empty-file': 'warn',
'unicorn/no-lonely-if': 'off',
'unicorn/no-process-exit': 'off',
'unicorn/no-useless-undefined': 'warn', // TODO: fix issues and turn this back on
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-array-some': 'warn', // TODO: fix issues and turn this back on
'unicorn/prefer-event-target': 'warn',
'unicorn/prefer-module': 'off',
'unicorn/prefer-node-protocol': 'off',
'unicorn/prefer-object-from-entries': 'warn', // TODO: fix issues and turn this back on
'unicorn/prefer-regexp-test': 'off',
'unicorn/prefer-spread': 'off', // TODO: fix issues and turn this back on
'unicorn/prefer-string-replace-all': 'warn',
'unicorn/prefer-string-slice': 'warn', // TODO: fix issues and turn this back on
'unicorn/prefer-ternary': 'off', // TODO: fix issues and turn this back on
'wrap-iife': 'warn', // TODO: fix issues and turn this back on
},
}
4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 22.20.0
nodejs 22.22.0
28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.1.cjs

This file was deleted.

12 changes: 0 additions & 12 deletions Dockerfile.devcenter

This file was deleted.

Loading
Loading