Skip to content

Commit

Permalink
fix(build): update linting, testing and tools
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Sep 2, 2015
1 parent b07c481 commit ed65edc
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 32,986 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/aurelia-tools/.eslintrc"
}
3 changes: 0 additions & 3 deletions .jshintrc

This file was deleted.

8 changes: 4 additions & 4 deletions build/tasks/lint.js
@@ -1,10 +1,10 @@
var gulp = require('gulp');
var paths = require('../paths');
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');
var eslint = require('gulp-eslint');

gulp.task('lint', function() {
return gulp.src(paths.source)
.pipe(jshint())
.pipe(jshint.reporter(stylish));
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failOnError());
});
28 changes: 15 additions & 13 deletions config.js
@@ -1,21 +1,19 @@
System.config({
"transpiler": "babel",
"babelOptions": {
defaultJSExtensions: true,
transpiler: "babel",
babelOptions: {
"optional": [
"runtime",
"es7.decorators"
]
},
"paths": {
"*": "*.js",
"github:*": "jspm_packages/github/*.js",
"aurelia-framework/*": "dist/*.js",
"npm:*": "jspm_packages/npm/*.js"
}
});
paths: {
"github:*": "jspm_packages/github/*",
"aurelia-framework/*": "dist/*",
"npm:*": "jspm_packages/npm/*"
},

System.config({
"map": {
map: {
"aurelia-binding": "github:aurelia/binding@0.8.6",
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.9.2",
"aurelia-loader": "github:aurelia/loader@0.8.7",
Expand All @@ -26,7 +24,7 @@ System.config({
"aurelia-templating": "github:aurelia/templating@0.14.1",
"babel": "npm:babel-core@5.2.2",
"babel-runtime": "npm:babel-runtime@5.2.2",
"core-js": "npm:core-js@0.9.18",
"core-js": "npm:core-js@1.1.3",
"github:aurelia/binding@0.8.6": {
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.9.2",
"aurelia-metadata": "github:aurelia/metadata@0.7.3",
Expand Down Expand Up @@ -66,7 +64,11 @@ System.config({
"fs": "github:jspm/nodelibs-fs@0.1.2",
"process": "github:jspm/nodelibs-process@0.1.1",
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
},
"npm:core-js@1.1.3": {
"fs": "github:jspm/nodelibs-fs@0.1.2",
"process": "github:jspm/nodelibs-process@0.1.1",
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
}
}
});

0 comments on commit ed65edc

Please sign in to comment.