Skip to content

Commit

Permalink
Refactor: Rewrited code to match ESLint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jy95 committed Aug 30, 2017
1 parent b30d60e commit deb0d85
Show file tree
Hide file tree
Showing 20 changed files with 1,787 additions and 1,919 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,11 @@
module.exports = {
"extends": "airbnb-base",
"rules" :{
"linebreak-style": 0,
"valid-jsdoc": "error",
"max-len": ["error", { "ignoreComments": true }],
"import/extensions": ['off', 'never'],
"no-bitwise": ["error", { "allow": ["|"] }],
"no-restricted-syntax": ['off', "ForInStatement"]
}
};
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -71,4 +71,5 @@ npm run coverage
* If you're unsure if a feature would make a good addition, you can always [create an issue](https://github.com/jy95/torrent-files-library/issues/new) first.
* We aim for 100% test coverage. Please write tests for any new functionality or changes.
* Any API changes should be fully documented.
* Make sure your code meets our linting standards. Run `npm run lint` to check your code.
* Be mindful of others when making suggestions and/or code reviewing.

0 comments on commit deb0d85

Please sign in to comment.