diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e7d66d4..db9ba41 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,6 @@ version: 2 updates: - - package-ecosystem: "npm" - directory: "/" + - package-ecosystem: 'npm' + directory: '/' schedule: - interval: "weekly" + interval: 'weekly' diff --git a/.prettierrc b/.prettierrc index eb0e50a..9d313aa 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,5 @@ { - "semi": true, + "semi": false, "trailingComma": "es5", "singleQuote": true } diff --git a/index.js b/index.js index ab451c2..dedc968 100644 --- a/index.js +++ b/index.js @@ -1,2 +1 @@ -console.log('Learn Node.js with fun🤪'); -console.log('Dima the best'); +console.log('Learn Node.js with fun🤪') diff --git a/package.json b/package.json index 480ca1b..91a61f8 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,9 @@ "prepare": "husky install" }, "lint-staged": { - "*.js": [ - "prettier --write", - "eslint" - ] + "*": "prettier --write --ignore-unknown", + "*.js": "eslint", + "*.ts": "eslint" }, "author": "", "license": "MIT",