Skip to content

Commit

Permalink
eslintrc: init
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhoy committed Mar 6, 2019
1 parent c082fa4 commit 3f1e968
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parser": "babel-eslint",
"plugins": [ "react" ],
"env": {
"browser": true,
"es6": true,
"node": true
},
"rules": {
"consistent-return": [0],
"key-spacing": [0],
"quotes": [0],
"new-cap": [0],
"no-multi-spaces": [0],
"no-shadow": [0],
"no-extra-semi": [1],
"no-unused-vars": [1],
"no-use-before-define": [2, "nofunc"],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1
}
}
1 change: 1 addition & 0 deletions scripts/install-dotfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dotfiles=( gemrc
nix/nixpkgs
offlineimaprc
offlineimap.py
eslintrc
)
regex="/?([^/]+)$"
for i in "${dotfiles[@]}" ; do
Expand Down

0 comments on commit 3f1e968

Please sign in to comment.