Skip to content

Commit

Permalink
Merge pull request #5 from PyConColombia/develop
Browse files Browse the repository at this point in the history
Merge changes into dev
  • Loading branch information
aduquehd authored Feb 10, 2024
2 parents 07b08f3 + ae56c6d commit f79f9b9
Show file tree
Hide file tree
Showing 108 changed files with 1,045 additions and 1,530 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# EditorConfig: https://EditorConfig.org

root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.py]
indent_style = space
indent_size = 4
max_line_length = 88

[*.{js,jsx,ts,tsx}]
indent_style = space
indent_size = 2
max_line_length = 80

[*.{yml,yaml,json,css,styl}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
8 changes: 3 additions & 5 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.cache
node_modules
package.json
package-lock.json
public
.next
dist
node_modules/
30 changes: 0 additions & 30 deletions .eslintrc.js

This file was deleted.

31 changes: 31 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": [
"plugin:react/recommended",
"standard",
"eslint:recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"prettier",
"jest"
],
"rules": {},
"settings": {
"react": {
"version": "detect"
}
}
}
12 changes: 6 additions & 6 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Staging Checks
on:
push:
branches:
- dev
- develop
pull_request:
branches:
- dev
- develop

jobs:
format-js:
Expand All @@ -21,14 +21,14 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: "14.16"
node-version: '20.11'
- name: Cache NPM
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-14.16-${{ hashFiles('pycon-website-template/package.json') }}
key: ${{ runner.os }}-node-20.11-${{ hashFiles('pycon-website-template/package.json') }}
restore-keys: |
${{ runner.os }}-node-14.16-${{ hashFiles('pycon-website-template/package.json') }}
${{ runner.os }}-node-20.11-
- name: Install node dependencies
run: |
cd pycon-website-template/
Expand Down
90 changes: 28 additions & 62 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,73 +1,39 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# Optional npm cache directory
.npm
# testing
/coverage

# Optional eslint cache
.eslintcache
# next.js
/.next/
/out/

# Optional REPL history
.node_repl_history
# production
/build

# Output of 'npm pack'
*.tgz
# misc
.DS_Store
*.pem

# dotenv environment variable files
.env*
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# gatsby files
.cache/
public
# local env files
.env*.local

# Mac files
.DS_Store
# vercel
.vercel

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity
# typescript
*.tsbuildinfo
next-env.d.ts

# Cache
package-lock.json
yarn.lock
package-lock.json
11 changes: 0 additions & 11 deletions .lintstagedrc

This file was deleted.

5 changes: 0 additions & 5 deletions .prettierignore

This file was deleted.

16 changes: 6 additions & 10 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"endOfLine": "auto"
"semi": true,
"tabWidth": 2,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "none",
"jsxBracketSameLine": true
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
}
}
14 changes: 0 additions & 14 deletions LICENSE

This file was deleted.

Loading

0 comments on commit f79f9b9

Please sign in to comment.