Adds .editorconfig file (#162)

* chore: adds .editorconfig file

* chore: move devDeps to root
This commit is contained in:
Nate Moore 2021-05-03 12:41:39 -05:00 committed by GitHub
parent 52b592a04e
commit c74f3e70f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 40 deletions

12
.editorconfig Normal file
View file

@ -0,0 +1,12 @@
# https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true

View file

@ -29,7 +29,12 @@
"lerna": "^4.0.0", "lerna": "^4.0.0",
"prettier": "^2.2.1", "prettier": "^2.2.1",
"typescript": "^4.2.4", "typescript": "^4.2.4",
"uvu": "^0.5.1" "uvu": "^0.5.1",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0"
}, },
"dependencies": { "dependencies": {
"@changesets/cli": "^2.16.0" "@changesets/cli": "^2.16.0"

View file

@ -91,18 +91,10 @@
"@types/react-dom": "^17.0.2", "@types/react-dom": "^17.0.2",
"@types/sass": "^1.16.0", "@types/sass": "^1.16.0",
"@types/yargs-parser": "^20.2.0", "@types/yargs-parser": "^20.2.0",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"concurrently": "^6.0.0",
"del": "^6.0.0", "del": "^6.0.0",
"domhandler": "^4.1.0", "domhandler": "^4.1.0",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"execa": "^5.0.0", "execa": "^5.0.0",
"prettier": "^2.2.1", "typescript": "^4.2.3"
"typescript": "^4.2.3",
"uvu": "^0.5.1"
}, },
"engines": { "engines": {
"node": ">=14.0.0", "node": ">=14.0.0",

View file

@ -3206,21 +3206,6 @@ concat-stream@^2.0.0:
readable-stream "^3.0.2" readable-stream "^3.0.2"
typedarray "^0.0.6" typedarray "^0.0.6"
concurrently@^6.0.0:
version "6.0.2"
resolved "https://registry.npmjs.org/concurrently/-/concurrently-6.0.2.tgz"
integrity sha512-u+1Q0dJG5BidgUTpz9CU16yoHTt/oApFDQ3mbvHwSDgMjU7aGqy0q8ZQyaZyaNxdwRKTD872Ux3Twc6//sWA+Q==
dependencies:
chalk "^4.1.0"
date-fns "^2.16.1"
lodash "^4.17.21"
read-pkg "^5.2.0"
rxjs "^6.6.3"
spawn-command "^0.0.2-1"
supports-color "^8.1.0"
tree-kill "^1.2.2"
yargs "^16.2.0"
condense-newlines@^0.2.1: condense-newlines@^0.2.1:
version "0.2.1" version "0.2.1"
resolved "https://registry.npmjs.org/condense-newlines/-/condense-newlines-0.2.1.tgz" resolved "https://registry.npmjs.org/condense-newlines/-/condense-newlines-0.2.1.tgz"
@ -3544,7 +3529,7 @@ dashdash@^1.12.0:
dependencies: dependencies:
assert-plus "^1.0.0" assert-plus "^1.0.0"
date-fns@^2.16.1, date-fns@^2.19.0: date-fns@^2.19.0:
version "2.21.1" version "2.21.1"
resolved "https://registry.npmjs.org/date-fns/-/date-fns-2.21.1.tgz" resolved "https://registry.npmjs.org/date-fns/-/date-fns-2.21.1.tgz"
integrity sha512-m1WR0xGiC6j6jNFAyW4Nvh4WxAi4JF4w9jRJwSI8nBmNcyZXPcP9VUQG+6gHQXAmqaGEKDKhOqAtENDC941UkA== integrity sha512-m1WR0xGiC6j6jNFAyW4Nvh4WxAi4JF4w9jRJwSI8nBmNcyZXPcP9VUQG+6gHQXAmqaGEKDKhOqAtENDC941UkA==
@ -9756,7 +9741,7 @@ rxjs@^5.5.6:
dependencies: dependencies:
symbol-observable "1.0.1" symbol-observable "1.0.1"
rxjs@^6.6.0, rxjs@^6.6.3: rxjs@^6.6.0:
version "6.6.7" version "6.6.7"
resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz"
integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==
@ -10261,11 +10246,6 @@ space-separated-tokens@^1.0.0:
resolved "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz" resolved "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz"
integrity sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA== integrity sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==
spawn-command@^0.0.2-1:
version "0.0.2-1"
resolved "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz"
integrity sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=
spawndamnit@^2.0.0: spawndamnit@^2.0.0:
version "2.0.0" version "2.0.0"
resolved "https://registry.npmjs.org/spawndamnit/-/spawndamnit-2.0.0.tgz" resolved "https://registry.npmjs.org/spawndamnit/-/spawndamnit-2.0.0.tgz"
@ -10804,13 +10784,6 @@ supports-color@^7.0.0, supports-color@^7.1.0:
dependencies: dependencies:
has-flag "^4.0.0" has-flag "^4.0.0"
supports-color@^8.1.0:
version "8.1.1"
resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz"
integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==
dependencies:
has-flag "^4.0.0"
svelte-hmr@^0.13.2: svelte-hmr@^0.13.2:
version "0.13.4" version "0.13.4"
resolved "https://registry.npmjs.org/svelte-hmr/-/svelte-hmr-0.13.4.tgz" resolved "https://registry.npmjs.org/svelte-hmr/-/svelte-hmr-0.13.4.tgz"
@ -11143,7 +11116,6 @@ tree-kill@^1.2.2:
version "1.2.2" version "1.2.2"
resolved "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz" resolved "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz"
integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==
trim-newlines@^1.0.0: trim-newlines@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz" resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz"