diff --git a/.eslintrc.js b/.eslintrc.js index a88722a9..3439b0d9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,4 +5,8 @@ module.exports = { node: true, }, extends: ["plugin:prettier/recommended"], + rules: { + // https://github.com/plopjs/plop/issues/288 + "linebreak-style": ["error", "unix"], + }, }; diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..6313b56c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf