Skip to content

Commit

Permalink
Babel transpilation ES6 src -> lib, jshint -> eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
tgriesser committed Jun 17, 2015
1 parent c5ccad3 commit fcf407a
Showing 37 changed files with 5,419 additions and 2,995 deletions.
28 changes: 28 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true
},
"ecmaFeatures": {
"destructuring": true,
"modules": true
},
"rules": {
"quotes": 0,
"curly": 0,
"camelcase": 0,
"semi": 0,
"eol-last": 0,
"key-spacing": 0,
"new-cap": 0,
"comma-dangle": 0,
"consistent-return": 0,
"no-proto": 0,
"no-use-before-define": 0,
"no-trailing-spaces": 0,
"no-multi-spaces": 0,
"no-mixed-requires": 0,
"no-underscore-dangle": 0
}
}
17 changes: 0 additions & 17 deletions .jshintrc

This file was deleted.

5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,10 @@
[tests](https://github.com/tgriesser/bookshelf/tree/master/test).

* Use the same coding style as the rest of the
[codebase](https://github.com/tgriesser/bookshelf/blob/master/bookshelf.js).
[codebase](https://github.com/tgriesser/bookshelf/blob/master/src/bookshelf.js).

* Make changes in the /src directory, running "npm run dev" which will kick off
transpilation from ES6 in the background

* Files in the `/browser` folder are built automatically. You don't need to edit them.

2 changes: 1 addition & 1 deletion bookshelf.js
Original file line number Diff line number Diff line change
@@ -5,4 +5,4 @@
// Bookshelf may be freely distributed under the MIT license.
// For all details and documentation:
// http://bookshelfjs.org
module.exports = require('./lib')
module.exports = require('./lib/bookshelf')
Loading
Oops, something went wrong.

0 comments on commit fcf407a

Please sign in to comment.