From 5d5f23b441b0573e8595a92e6a48483f1f3d9880 Mon Sep 17 00:00:00 2001 From: Kiril Vatev Date: Sat, 18 Jan 2020 00:30:30 -0500 Subject: [PATCH] adding dotfiles --- .brackets.json | 18 ++++++++++++++++++ .editorconfig | 12 ++++++++++++ .eslintrc.json | 18 ++++++++++++++++++ .gitattributes | 32 ++++++++++++++++++++++++++++++++ .gitignore | 39 +++++++++++++++++++++++++++++++++++++++ .npmrc | 1 + 6 files changed, 120 insertions(+) create mode 100644 .brackets.json create mode 100644 .editorconfig create mode 100644 .eslintrc.json create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 .npmrc diff --git a/.brackets.json b/.brackets.json new file mode 100644 index 0000000..287afdc --- /dev/null +++ b/.brackets.json @@ -0,0 +1,18 @@ +{ + "spaceUnits": 2, + "useTabChar": false, + "language": { + "javascript": { + "linting.prefer": [ + "ESLint" + ], + "linting.usePreferredOnly": true + }, + "markdown": { + "wordWrap": true + } + }, + "language.fileNames": { + "Jenkinsfile": "groovy" + } +} diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1daeca9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[{package.json,*.yml}] +indent_size = 2 diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..36b7885 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,18 @@ +{ + "extends": "eslint:recommended", + "env": { + "es6": true, + "node": true + }, + "parserOptions": { + "ecmaVersion": 8 + }, + "rules": { + "indent": ["error", 2, { + "SwitchCase": 1 + }], + "linebreak-style": ["error", "unix"], + "quotes": ["error", "single"], + "semi": ["error", "always"] + } +} \ No newline at end of file diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e92b2fd --- /dev/null +++ b/.gitattributes @@ -0,0 +1,32 @@ +# Auto detect text files and perform LF normalization +* text=auto + +*.js text eol=lf +*.jsx text eol=lf +*.mjs text eol=lf +*.json text eol=lf +*.html text eol=lf +*.md text eol=lf +*.yml text eol=lf +*.css text eol=lf +*.less text eol=lf +*.scss text eol=lf +*.sass text eol=lf +*.svg text eol=lf +*.xml text eol=lf +*.sh text eol=lf + +# Custom for Visual Studio +*.cs diff=csharp + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31492bd --- /dev/null +++ b/.gitignore @@ -0,0 +1,39 @@ +# Windows image file caches +Thumbs.db +ehthumbs.db +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows shortcuts +*.lnk + +# OSX +.DS_Store +.AppleDouble +.LSOverride + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# Node stuff +node_modules/ +coverage/ +.nyc_output/ +temp/ diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..43c97e7 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +package-lock=false