Skip to content

Commit

Permalink
Merge pull request #51 from wbuchwalter/feature-eslint
Browse files Browse the repository at this point in the history
chore (closes #49): added basic ESLint support
  • Loading branch information
sonicoder86 committed Nov 30, 2016
2 parents bc9cb0e + 55fcdff commit 669ca72
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage/**
node_modules/**
test/dist/**
dist/**
7 changes: 7 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "eslint:recommended",
"env": {
"mocha": true,
"node": true
}
}
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ var Lint = require('tslint');
var loaderUtils = require('loader-utils');
var fs = require('fs');
var path = require('path');
var typescript = require('typescript');
var mkdirp = require('mkdirp');
var rimraf = require('rimraf');
var objectAssign = require('object-assign');
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "tslint loader for webpack",
"main": "index.js",
"scripts": {
"lint": "eslint --ext .js .",
"deploy": "np --skip-cleanup",
"test": "mocha ./test/loader.spec.js"
},
Expand Down Expand Up @@ -37,6 +38,7 @@
"awesome-typescript-loader": "^3.0.0-beta.3",
"chai": "^3.5.0",
"enhanced-resolve": "^2.3.0",
"eslint": "3.11.1",
"mocha": "^3.1.2",
"np": "^2.10.1",
"tslint": "^4.0.0",
Expand Down

0 comments on commit 669ca72

Please sign in to comment.