Skip to content

Commit

Permalink
Added the gitattributes file and changed the eslint config file
Browse files Browse the repository at this point in the history
  • Loading branch information
DemonusPC committed Oct 17, 2018
1 parent 435cbfa commit fc48665
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .eslintrc → .eslintrc.js
@@ -1,4 +1,4 @@
{
module.exports = {
"extends": [
"airbnb",
"plugin:prettier/recommended",
Expand All @@ -22,6 +22,6 @@
"rules": {
"react/jsx-one-expression-per-line": "off",
"jsx-a11y/label-has-associated-control": "off",
"linebreak-style": "off"
"linebreak-style": ["error", process.env.NODE_ENV === 'prod' ? "unix" : "windows"]
}
}
}
2 changes: 2 additions & 0 deletions .gitattributes
@@ -0,0 +1,2 @@
*.js text eol=lf
*.jsx text eol=lf

0 comments on commit fc48665

Please sign in to comment.