Skip to content

Commit

Permalink
[setup] bump up version
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Mollweide committed Apr 21, 2017
1 parent efa6eae commit 4bd9635
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ $ npm install --save-dev eslint eslint-plugin-import @namics/eslint-config
```
module.exports = {
"extends": "@namics/eslint-config/configurations/es6-browser.js"
}
};
```

### with flow
Flowtype rules will be accepted if the flow annotation was defined in first line of each file.
```
module.exports = {
"extends": [
"@namics/eslint-config/configurations/es6-react.js",
"@namics/eslint-config/configurations/flow.js"
"@namics/eslint-config/configurations/es6-react.js"
],
}
]
};
```

### .eslintignore
Expand All @@ -47,7 +47,7 @@ module.exports = {
```
"scripts": {
"lint": "npm run lint:js",
"lint:js": "node_modules/.bin/eslint src/**/*.jsx src/**/*.js"
"lint:js": "node_modules/.bin/eslint ."
},
```
then run `npm run lint`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@namics/eslint-config",
"version": "2.2.0",
"version": "2.3.0",
"description": "Default configurations for eslint",
"author": "Simon Mollweide <simon.mollweide@namics.com>",
"license": "MIT",
Expand Down

0 comments on commit 4bd9635

Please sign in to comment.