From ca1e1b221e7e4395d10ce3ed356b3e12134fc4a9 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Mon, 21 Aug 2023 23:13:58 -0400 Subject: [PATCH] Remove .eslintignore and .prettierignore --- .eslintignore | 1 - .prettierignore | 1 - package-lock.json | 25 +++++++++++++++++++------ package.json | 7 +++++-- 4 files changed, 24 insertions(+), 10 deletions(-) delete mode 120000 .eslintignore delete mode 120000 .prettierignore diff --git a/.eslintignore b/.eslintignore deleted file mode 120000 index 3e4e48b..0000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -.gitignore \ No newline at end of file diff --git a/.prettierignore b/.prettierignore deleted file mode 120000 index 3e4e48b..0000000 --- a/.prettierignore +++ /dev/null @@ -1 +0,0 @@ -.gitignore \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 324e15c..01ae766 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "devDependencies": { "@aws-sdk/lib-dynamodb": "^3.188.0", "@aws-sdk/util-dynamodb": "^3.188.0", + "@nasa-gcn/eslint-config-gitignore": "^0.0.1", "@shelf/jest-dynamodb": "^3.4.2", "@tsconfig/node14": "^1.0.3", "@types/jest": "^29.2.5", @@ -24,7 +25,7 @@ "jest": "^29.3.1", "lint-staged": "^13.1.0", "npm-run-all": "^4.1.5", - "prettier": "^2.8.1", + "prettier": "^3.0.0", "ts-jest": "^29.0.3", "typescript": "^4.9.4" }, @@ -1992,6 +1993,18 @@ "@jridgewell/sourcemap-codec": "1.4.14" } }, + "node_modules/@nasa-gcn/eslint-config-gitignore": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@nasa-gcn/eslint-config-gitignore/-/eslint-config-gitignore-0.0.1.tgz", + "integrity": "sha512-+T+dWsH/iB00jOaTFZnt01w4vCfmShvnkgwr9OrBMrGblcboHmLudYu/IA3df5SSi4XOmLFfrKTFbLCoAZ053g==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.0.0 || >= 18.0.0" + }, + "peerDependencies": { + "eslint": ">=7" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -8202,15 +8215,15 @@ } }, "node_modules/prettier": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.1.tgz", - "integrity": "sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz", + "integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==", "dev": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" diff --git a/package.json b/package.json index ac2c2f9..b191cbe 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "devDependencies": { "@aws-sdk/lib-dynamodb": "^3.188.0", "@aws-sdk/util-dynamodb": "^3.188.0", + "@nasa-gcn/eslint-config-gitignore": "^0.0.1", "@shelf/jest-dynamodb": "^3.4.2", "@tsconfig/node14": "^1.0.3", "@types/jest": "^29.2.5", @@ -45,14 +46,15 @@ "jest": "^29.3.1", "lint-staged": "^13.1.0", "npm-run-all": "^4.1.5", - "prettier": "^2.8.1", + "prettier": "^3.0.0", "ts-jest": "^29.0.3", "typescript": "^4.9.4" }, "sideEffects": false, "prettier": { "semi": false, - "singleQuote": true + "singleQuote": true, + "trailingComma": "es5" }, "eslintConfig": { "env": { @@ -61,6 +63,7 @@ }, "extends": [ "eslint:recommended", + "@nasa-gcn/eslint-config-gitignore", "prettier" ], "overrides": [