diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..58d264c1c --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/package.json b/package.json index c8abb4606..efb955b81 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,12 @@ "lerna": "^4.0.0", "prettier": "^2.2.1", "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": { "@changesets/cli": "^2.16.0" diff --git a/packages/astro/package.json b/packages/astro/package.json index 513e50dc5..823fa60b1 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -91,18 +91,10 @@ "@types/react-dom": "^17.0.2", "@types/sass": "^1.16.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", "domhandler": "^4.1.0", - "eslint": "^7.22.0", - "eslint-config-prettier": "^8.1.0", - "eslint-plugin-prettier": "^3.3.1", "execa": "^5.0.0", - "prettier": "^2.2.1", - "typescript": "^4.2.3", - "uvu": "^0.5.1" + "typescript": "^4.2.3" }, "engines": { "node": ">=14.0.0", diff --git a/yarn.lock b/yarn.lock index fe786f230..da0166957 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3206,21 +3206,6 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" 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: version "0.2.1" resolved "https://registry.npmjs.org/condense-newlines/-/condense-newlines-0.2.1.tgz" @@ -3544,7 +3529,7 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -date-fns@^2.16.1, date-fns@^2.19.0: +date-fns@^2.19.0: version "2.21.1" resolved "https://registry.npmjs.org/date-fns/-/date-fns-2.21.1.tgz" integrity sha512-m1WR0xGiC6j6jNFAyW4Nvh4WxAi4JF4w9jRJwSI8nBmNcyZXPcP9VUQG+6gHQXAmqaGEKDKhOqAtENDC941UkA== @@ -9756,7 +9741,7 @@ rxjs@^5.5.6: dependencies: symbol-observable "1.0.1" -rxjs@^6.6.0, rxjs@^6.6.3: +rxjs@^6.6.0: version "6.6.7" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz" 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" 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: version "2.0.0" 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: 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: version "0.13.4" 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" resolved "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz" integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - trim-newlines@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz"