diff --git a/.eslintrc.js b/.eslintrc.js index b20b0ad..c78ea5a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,3 @@ -// This is a reusable configuration file copied from https://github.com/actions/reusable-workflows/tree/main/reusable-configurations. Please don't make changes to this file as it's the subject of an automatic update. module.exports = { extends: [ 'eslint:recommended', diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..94f480d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf \ No newline at end of file diff --git a/.prettierrc.js b/.prettierrc.js index 468cdb1..d7133c7 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,4 +1,3 @@ -// This is a reusable configuration file copied from https://github.com/actions/reusable-workflows/tree/main/reusable-configurations. Please don't make changes to this file as it's the subject of an automatic update. module.exports = { printWidth: 80, tabWidth: 2, diff --git a/package.json b/package.json index e797b04..eb9885c 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "scripts": { "build": "tsc && ncc build", "test": "jest", - "format": "prettier --config ./.prettierrc.js --write **/*.{ts,yml,yaml}", - "format-check": "prettier --config ./.prettierrc.js --check **/*.{ts,yml,yaml}", + "format": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --write **/*.{ts,yml,yaml}", + "format-check": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --check **/*.{ts,yml,yaml}", "lint": "eslint --config ./.eslintrc.js **/*.ts", "lint:fix": "eslint --config ./.eslintrc.js **/*.ts --fix" },