Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Mar 23, 2024
1 parent 040397a commit 58b71e9
Show file tree
Hide file tree
Showing 91 changed files with 2,637 additions and 1,583 deletions.
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

73 changes: 73 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/**
* @type {import('@types/eslint').Linter.Config}
*/
module.exports = {
env: {
node: true,
es2023: true,
browser: true,
},
plugins: ['eslint-plugin-import'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2023,
},
settings: {
'import/resolver': {
node: true,
},
},
rules: {
'no-undef': 'error',
'no-duplicate-case': 'error',
'no-template-curly-in-string': 'warn',
'no-undef-init': 'error',
'no-unneeded-ternary': 'error',
'no-unreachable': 'error',
'no-unreachable-loop': 'error',
'no-unsafe-finally': 'error',
'no-unsafe-negation': 'error',
'no-unsafe-optional-chaining': 'error',
'no-unused-expressions': 'error',
'no-unused-vars': [
'error',
{
args: 'after-used',
argsIgnorePattern: '^_',
ignoreRestSiblings: true,
varsIgnorePattern: '^ignored',
},
],
'no-use-before-define': ['error', 'nofunc'],
'no-useless-escape': 'error',
'no-warning-comments': [
'error',
{ location: 'anywhere', terms: ['fixme'] },
],
strict: 'error',
'valid-typeof': 'error',
'import/no-unresolved': [
'error',
// workaround for
// https://github.com/import-js/eslint-plugin-import/issues/1810
{ ignore: ['@kentcdodds/*', 'react-server-dom-esm/*'] },
],

'import/no-duplicates': ['warn', { 'prefer-inline': true }],
'import/consistent-type-specifier-style': ['warn', 'prefer-inline'],
'import/order': [
'warn',
{
alphabetize: { order: 'asc', caseInsensitive: true },
groups: [
'builtin',
'external',
'internal',
'parent',
'sibling',
'index',
],
},
],
},
}
3 changes: 0 additions & 3 deletions exercises/01.start/01.problem.start/README.mdx

This file was deleted.

48 changes: 0 additions & 48 deletions exercises/01.start/01.problem.start/loader/region.js

This file was deleted.

150 changes: 0 additions & 150 deletions exercises/01.start/01.problem.start/server/region.js

This file was deleted.

16 changes: 0 additions & 16 deletions exercises/01.start/01.problem.start/src/actions.js

This file was deleted.

75 changes: 0 additions & 75 deletions exercises/01.start/01.problem.start/src/app.js

This file was deleted.

Loading

0 comments on commit 58b71e9

Please sign in to comment.