Skip to content

Commit

Permalink
chore: fix linting and attributes for line-endings
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Oct 18, 2021
1 parent 9a77348 commit 3b405f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ module.exports = {
node: true,
},
extends: ["plugin:prettier/recommended"],
rules: {
// https://github.com/plopjs/plop/issues/288
"linebreak-style": ["error", "unix"],
},
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf

0 comments on commit 3b405f0

Please sign in to comment.