mirror of
https://github.com/BradNut/dotfiles
synced 2025-09-08 17:40:19 +00:00
Adding bash, eslint, and development info files.
This commit is contained in:
parent
1593e5ad04
commit
016b89ca27
6 changed files with 274 additions and 0 deletions
37
.bash_profile
Normal file
37
.bash_profile
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Get the aliases and function
|
||||
if [ -f ~/.bashrc ]; then
|
||||
.~/.bashrc
|
||||
fi
|
||||
|
||||
# Load profile if exists
|
||||
if [ -f ~/.profile ]; then
|
||||
.~/.profile
|
||||
fi
|
||||
|
||||
# Set architecture flags
|
||||
export ARCHFLAGS="-arch x86_64"
|
||||
# Ensure user-installed binaries take precedence
|
||||
export PATH=/usr/local/bin:$PATH
|
||||
# Load .bashrc if it exists
|
||||
test -f ~/.bashrc && source ~/.bashrc
|
||||
JAVA_HOME=$(/usr/libexec/java_home)
|
||||
alias fix_brew='sudo chown -R $USER /usr/local/'
|
||||
|
||||
# Setting PATH for Python 3.5
|
||||
# The original version is saved in .bash_profile.pysave
|
||||
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
|
||||
export PATH
|
||||
|
||||
# Fastboot
|
||||
if [ -d "$HOME/adb-fastboot/platform-tools" ] ; then
|
||||
export PATH="$HOME/adb-fastboot/platform-tools:$PATH"
|
||||
fi
|
||||
|
||||
# Setting PATH for Python 2.7
|
||||
# The original version is saved in .bash_profile.pysave
|
||||
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
|
||||
export PATH
|
||||
|
||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||
export SDKMAN_DIR="/Users/bshellnu/.sdkman"
|
||||
[[ -s "/Users/bshellnu/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/bshellnu/.sdkman/bin/sdkman-init.sh"
|
||||
23
.bashrc
Normal file
23
.bashrc
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# pip should only run if there is a virtualenv currently activated
|
||||
#export PIP_REQUIRE_VIRTUALENV=true
|
||||
export GPGKEY=A2A7D8BB
|
||||
|
||||
# Source global definitions
|
||||
if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
fi
|
||||
|
||||
# Building Aliases
|
||||
alias mcist="mvn clean install -DskipTests"
|
||||
alias mci="mvn clean install"
|
||||
|
||||
# Git Aliases
|
||||
alias gco='git checkout'
|
||||
alias branch='git branch'
|
||||
alias status='git status'
|
||||
|
||||
# Directory Aliases
|
||||
alias lsa="ls -la"
|
||||
alias ll='ls -FGlahp'
|
||||
|
||||
alias f='open -a Finder ./'
|
||||
136
.eslintrc
Normal file
136
.eslintrc
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
{
|
||||
"extends": [
|
||||
"airbnb",
|
||||
"prettier",
|
||||
"prettier/react"
|
||||
],
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018,
|
||||
"ecmaFeatures": {
|
||||
"impliedStrict": true,
|
||||
"classes": true
|
||||
}
|
||||
},
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true,
|
||||
"jquery": true,
|
||||
"jest": true
|
||||
},
|
||||
"rules": {
|
||||
"no-debugger": 0,
|
||||
"no-alert": 0,
|
||||
"no-await-in-loop": 0,
|
||||
"no-return-assign": [
|
||||
"error",
|
||||
"except-parens"
|
||||
],
|
||||
"no-restricted-syntax": [
|
||||
2,
|
||||
"ForInStatement",
|
||||
"LabeledStatement",
|
||||
"WithStatement"
|
||||
],
|
||||
"no-unused-vars": [
|
||||
1,
|
||||
{
|
||||
"ignoreSiblings": true,
|
||||
"argsIgnorePattern": "res|next|^err"
|
||||
}
|
||||
],
|
||||
"prefer-const": [
|
||||
"error",
|
||||
{
|
||||
"destructuring": "all",
|
||||
}
|
||||
],
|
||||
"arrow-body-style": [
|
||||
2,
|
||||
"as-needed"
|
||||
],
|
||||
"no-unused-expressions": [
|
||||
2,
|
||||
{
|
||||
"allowTaggedTemplates": true
|
||||
}
|
||||
],
|
||||
"no-param-reassign": [
|
||||
2,
|
||||
{
|
||||
"props": false
|
||||
}
|
||||
],
|
||||
"no-console": 0,
|
||||
"import/prefer-default-export": 0,
|
||||
"import": 0,
|
||||
"func-names": 0,
|
||||
"space-before-function-paren": 0,
|
||||
"comma-dangle": 0,
|
||||
"max-len": 0,
|
||||
"import/extensions": 0,
|
||||
"no-underscore-dangle": 0,
|
||||
"consistent-return": 0,
|
||||
"react/display-name": 1,
|
||||
"react/no-array-index-key": 0,
|
||||
"react/react-in-jsx-scope": 0,
|
||||
"react/prefer-stateless-function": 0,
|
||||
"react/forbid-prop-types": 0,
|
||||
"react/no-unescaped-entities": 0,
|
||||
"jsx-a11y/accessible-emoji": 0,
|
||||
"react/require-default-props": 0,
|
||||
"react/jsx-filename-extension": [
|
||||
1,
|
||||
{
|
||||
"extensions": [
|
||||
".js",
|
||||
".jsx"
|
||||
]
|
||||
}
|
||||
],
|
||||
"radix": 0,
|
||||
"no-shadow": [
|
||||
2,
|
||||
{
|
||||
"hoist": "all",
|
||||
"allow": [
|
||||
"resolve",
|
||||
"reject",
|
||||
"done",
|
||||
"next",
|
||||
"err",
|
||||
"error"
|
||||
]
|
||||
}
|
||||
],
|
||||
"quotes": [
|
||||
2,
|
||||
"single",
|
||||
{
|
||||
"avoidEscape": true,
|
||||
"allowTemplateLiterals": true
|
||||
}
|
||||
],
|
||||
"prettier/prettier": [
|
||||
"error",
|
||||
{
|
||||
"trailingComma": "es5",
|
||||
"singleQuote": true,
|
||||
"printWidth": 80,
|
||||
}
|
||||
],
|
||||
"jsx-a11y/href-no-hash": "off",
|
||||
"jsx-a11y/anchor-is-valid": [
|
||||
"warn",
|
||||
{
|
||||
"aspects": [
|
||||
"invalidHref"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"plugins": [
|
||||
// "html",
|
||||
"prettier"
|
||||
]
|
||||
}
|
||||
23
.hyper.js
Normal file
23
.hyper.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
module.exports = {
|
||||
updateChannel: 'canary',
|
||||
config: {
|
||||
// default font size in pixels for all tabs
|
||||
fontSize: 20,
|
||||
windowSize: [1080, 720],
|
||||
fontFamily: '"Operator Mono", "Inconsolata for Powerline", monospace',
|
||||
cursorShape: 'BLOCK',
|
||||
wickedBorder: true,
|
||||
padding: '10px',
|
||||
shell: '/bin/zsh',
|
||||
},
|
||||
|
||||
|
||||
plugins: [
|
||||
'hyperterm-cobalt2-theme',
|
||||
],
|
||||
|
||||
// in development, you can create a directory under
|
||||
// `~/.hyperterm_plugins/local/` and include it here
|
||||
// to load it and avoid it being `npm install`ed
|
||||
// localPlugins: ['hyperterm-cobalt2-theme'],
|
||||
};
|
||||
32
vs-code-extensions-i-use.md
Normal file
32
vs-code-extensions-i-use.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
List of all the extensions I use.
|
||||
|
||||
|
||||
* [Ayu](https://marketplace.visualstudio.com/items?itemName=teabyii.ayu)
|
||||
* [Auto Close Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag)
|
||||
* [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag)
|
||||
* [Better Comments](https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments)
|
||||
* [Bracket Pair Colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer)
|
||||
* [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker)
|
||||
* [Color Highlight](https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight)
|
||||
* [Custom CSS and JS Loader](https://marketplace.visualstudio.com/items?itemName=be5invis.vscode-custom-css)
|
||||
* [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)
|
||||
* [Docker](https://marketplace.visualstudio.com/items?itemName=PeterJausovec.vscode-docker)
|
||||
* [DotENV](https://marketplace.visualstudio.com/items?itemName=mikestead.dotenv)
|
||||
* [ES7 React/Redux/GraphQL/React-Native snippets](https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets)
|
||||
* [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
|
||||
* [Formatting Toggle](https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle)
|
||||
* [Git History](https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory)
|
||||
* [GraphQL for VSCode](https://marketplace.visualstudio.com/items?itemName=kumar-harsh.graphql-for-vscode)
|
||||
* [GraphQL](https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql)
|
||||
* [Import Cost](https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost)
|
||||
* [Jest](https://marketplace.visualstudio.com/items?itemName=Orta.vscode-jest)
|
||||
* [npm Intellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.npm-intellisense)
|
||||
* [open in browser](https://marketplace.visualstudio.com/items?itemName=techer.open-in-browser)
|
||||
* [Path Intellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense)
|
||||
* [Prisma](https://marketplace.visualstudio.com/items?itemName=Prisma.prisma)
|
||||
* [Rainbow Brackets](https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets)
|
||||
* [Rainbow CSV](https://marketplace.visualstudio.com/items?itemName=mechatroner.rainbow-csv)
|
||||
* [Scope Info](https://marketplace.visualstudio.com/items?itemName=siegebell.scope-info)
|
||||
* [SCSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-scss)
|
||||
* [vscode-styled-components](https://marketplace.visualstudio.com/items?itemName=jpoissonnier.vscode-styled-components)
|
||||
* [YAML](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)
|
||||
23
vscode.js
Normal file
23
vscode.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// Place your settings in this file to overwrite the default settings
|
||||
{
|
||||
"editor.wordWrap": "off",
|
||||
"javascript.updateImportsOnFileMove.enabled": "always",
|
||||
"editor.renderWhitespace": "all",
|
||||
"editor.formatOnSave": false,
|
||||
"editor.tabSize": 2,
|
||||
"workbench.colorTheme": "Ayu Mirage Bordered",
|
||||
"editor.fontFamily": "Menlo, Monaco, 'Courier New', monospace, Fira Code Retina",
|
||||
"editor.fontLigatures": true,
|
||||
"editor.fontSize": 13,
|
||||
"workbench.iconTheme": "ayu",
|
||||
"editor.quickSuggestions": {
|
||||
"other": true,
|
||||
"comments": false,
|
||||
"strings": false
|
||||
},
|
||||
"emmet.showSuggestionsAsSnippets": true,
|
||||
"editor.snippetSuggestions": "top",
|
||||
"emmet.triggerExpansionOnTab": true,
|
||||
"editor.formatOnPaste": false,
|
||||
"editor.formatOnType": false
|
||||
}
|
||||
Loading…
Reference in a new issue