Skip to content

Commit

Permalink
make more epic
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Feb 15, 2024
1 parent 0f01fb4 commit a16b0df
Show file tree
Hide file tree
Showing 199 changed files with 33,956 additions and 24,610 deletions.
413 changes: 0 additions & 413 deletions .all-contributorsrc

This file was deleted.

11 changes: 5 additions & 6 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
.DS_Store
node_modules
coverage
build
.idea/
.vscode/
.eslintcache
/playwright-report
public/build
playwright-report
test-results
server-build
scripts
38 changes: 38 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/** @type {import('@types/eslint').Linter.BaseConfig} */
module.exports = {
extends: [
'@remix-run/eslint-config',
'@remix-run/eslint-config/node',
'prettier',
],
rules: {
// playwright requires destructuring in fixtures even if you don't use anything 🤷‍♂️
'no-empty-pattern': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
'no-unused-expressions': 'off',
'@typescript-eslint/consistent-type-imports': [
'warn',
{
prefer: 'type-imports',
disallowTypeAnnotations: true,
fixStyle: 'inline-type-imports',
},
],
'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',
],
},
],
},
}
21 changes: 13 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
.DS_Store
node_modules
coverage
build
.idea/
.vscode/
.eslintcache
/playwright-report
/test-results

workspace/
**/.cache/
**/build/
**/public/build
**/playwright-report
data.db
/playground
**/tsconfig.tsbuildinfo

# in a real app you'd want to not commit the .env
# file as well, but since this is for a workshop
# we're going to keep them around.
# .env
104 changes: 0 additions & 104 deletions .gitpod.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
registry=https://registry.npmjs.org/
package-lock=true
yes=true
legacy-peer-deps=true
registry=https://registry.npmjs.org/
18 changes: 10 additions & 8 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.DS_Store
node_modules
coverage
build
.idea/
.vscode/
.eslintcache
/playwright-report
package.json

**/build/**
**/public/build/**
.env

**/package.json
**/tsconfig.json

**/package-lock.json
**/playwright-report/**
6 changes: 2 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@
"useTabs": true,
"overrides": [
{
"files": [
"**/*.json"
],
"files": ["**/*.json"],
"options": {
"useTabs": false
}
}
]
}
}
12 changes: 6 additions & 6 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"formulahendry.auto-rename-tag",
"VisualStudioExptTeam.vscodeintellicode"
]
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"formulahendry.auto-rename-tag",
"VisualStudioExptTeam.vscodeintellicode"
]
}
128 changes: 64 additions & 64 deletions .vscode/settings.kcd.json
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.detectIndentation": true,
"editor.fontFamily": "'Dank Mono', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": false,
"editor.rulers": [80],
"editor.snippetSuggestions": "top",
"editor.wordBasedSuggestions": false,
"editor.suggest.localityBonus": true,
"editor.acceptSuggestionOnCommitCharacter": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.suggestSelection": "recentlyUsed",
"editor.suggest.showKeywords": false
},
"editor.renderWhitespace": "boundary",
"files.defaultLanguage": "{activeEditorLanguage}",
"javascript.validate.enable": false,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/coverage": true,
"**/dist": true,
"**/build": true,
"**/.build": true,
"**/.gh-pages": true
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": false
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.options": {
"env": {
"browser": true,
"jest/globals": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-debugger": "off"
}
},
"workbench.colorTheme": "Night Owl",
"workbench.iconTheme": "material-icon-theme",
"breadcrumbs.enabled": true,
"grunt.autoDetect": "off",
"gulp.autoDetect": "off",
"npm.runSilent": true,
"explorer.confirmDragAndDrop": false,
"editor.formatOnPaste": false,
"editor.cursorSmoothCaretAnimation": true,
"editor.smoothScrolling": true,
"php.suggest.basic": false
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.detectIndentation": true,
"editor.fontFamily": "'Dank Mono', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": false,
"editor.rulers": [80],
"editor.snippetSuggestions": "top",
"editor.wordBasedSuggestions": false,
"editor.suggest.localityBonus": true,
"editor.acceptSuggestionOnCommitCharacter": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.suggestSelection": "recentlyUsed",
"editor.suggest.showKeywords": false
},
"editor.renderWhitespace": "boundary",
"files.defaultLanguage": "{activeEditorLanguage}",
"javascript.validate.enable": false,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/coverage": true,
"**/dist": true,
"**/build": true,
"**/.build": true,
"**/.gh-pages": true
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": false
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.options": {
"env": {
"browser": true,
"jest/globals": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-debugger": "off"
}
},
"workbench.colorTheme": "Night Owl",
"workbench.iconTheme": "material-icon-theme",
"breadcrumbs.enabled": true,
"grunt.autoDetect": "off",
"gulp.autoDetect": "off",
"npm.runSilent": true,
"explorer.confirmDragAndDrop": false,
"editor.formatOnPaste": false,
"editor.cursorSmoothCaretAnimation": true,
"editor.smoothScrolling": true,
"php.suggest.basic": false
}
1 change: 0 additions & 1 deletion CODE_OF_CONDUCT.md

This file was deleted.

Loading

0 comments on commit a16b0df

Please sign in to comment.