Skip to content

Commit

Permalink
Merge pull request #7 from dzencot/features
Browse files Browse the repository at this point in the history
Features
  • Loading branch information
dzencot committed Jan 4, 2017
2 parents 17f8057 + 52b2f38 commit dfaa7d3
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 214 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
**/*{.,-}min.js
/node_modules/
213 changes: 0 additions & 213 deletions .eslintrc

This file was deleted.

16 changes: 16 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
plugins: [flowtype]

env:
node: true
jest: true

parser: babel-eslint

parserOptions:
ecmaVersion: 2017
sourceType: module

extends:
- 'airbnb/base'
- plugin:import/errors
- plugin:import/warnings
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ install:
npm install
run:
npm run babel-node -- ./bin/$(G)
lint:
npm run eslint ./bin/
publish:
npm publish
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"babel-node": "babel-node",
"flow": "flow"
"flow": "flow",
"eslint": "eslint"
},
"repository": {
"type": "git",
Expand All @@ -24,10 +25,16 @@
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.21.0",
"babel-eslint": "^7.1.1",
"babel-plugin-syntax-flow": "^6.18.0",
"babel-plugin-transform-flow-strip-types": "^6.21.0",
"babel-preset-env": "^1.1.4",
"babel-preset-stage-0": "^6.16.0",
"eslint": "^3.12.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-config-airbnb-base": "^11.0.0",
"eslint-plugin-flowtype": "^2.29.2",
"eslint-plugin-import": "^2.2.0",
"flow-bin": "^0.37.4",
"flow-typed": "^2.0.0"
}
Expand Down

0 comments on commit dfaa7d3

Please sign in to comment.