Skip to content

Commit

Permalink
build: new config setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima committed Apr 1, 2023
1 parent f7c6d21 commit 2bdc17c
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 10 deletions.
76 changes: 67 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,96 @@
root = true

[*]
end_of_line = lf
charset = utf-8
max_line_length = 80
end_of_line = lf
indent_size = 2
indent_style = space
indent_size = 4
insert_final_newline = true
max_line_length = 79
trim_trailing_whitespace = true

[*.cmd]
indent_size = 2
indent_style = space

[*.css]
indent_size = 2
indent_style = space
max_line_length = 120

[*.html]
indent_size = 2
indent_style = space
max_line_length = off

[*.js]
indent_size = 2
indent_style = space
max_line_length = 120

[*.jsx]
indent_size = 2
indent_style = space
max_line_length = 120

[*.json]
indent_size = 2
indent_style = space
end_of_line = lf

[*.md]
indent_size = 2
indent_style = space
max_line_length = 100

[*.ps1]
indent_size = 2
indent_style = space

[*.py]
profile = black
indent_size = 4
indent_style = space
max_line_length = 79

[*.sh]
indent_size = 2
indent_style = space

[*.svg]
insert_final_newline = false

[*.ts]
indent_size = 2
indent_style = space
max_line_length = 120

[*.tsx]
indent_size = 2
indent_style = space
max_line_length = 120

[*.yml]
indent_size = 2
indent_style = space
max_line_length = off

[*.sh]
indent_style = space
[*.zsh]
indent_size = 2
indent_style = space

[.bashrc]
indent_size = 2
indent_style = space

[.zshrc]
indent_size = 2
indent_style = space

[*.json]
[nginx.conf]
indent_size = 4
indent_style = space
indent_size = 2

[*.js]
[pyproject.toml]
indent_size = 4
indent_style = space
indent_size = 2
144 changes: 143 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files

# Python Template
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down Expand Up @@ -102,7 +105,6 @@ celerybeat.pid
*.sage.py

# Environments
.env
.venv
env/
venv/
Expand All @@ -127,3 +129,143 @@ dmypy.json

# Pyre type checker
.pyre/

# Kivy Python
*/.buildozer*
*/.KivyMD*
*/.testing/cache*
*/cache*
*/build/
*/.build*
*/__pyca*

# Node Template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# 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
*.lcov

# nyc test coverage
.nyc_output

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

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

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/
.pnp
.pnp.js

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo
# next-env.d.ts

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
.env.local
.env.test.local
.env.development.local
.env.production.local
.env*.local

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next
/out/

# Nuxt.js build / generate output
.nuxt
dist

# vercel
.vercel

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# misc
.DS_Store
*.pem

# MDSANIMA Template
# setuptools_scm
_version.py

# temp folder
tmp
temp

0 comments on commit 2bdc17c

Please sign in to comment.