Skip to content

Commit e6c0e2c

Browse files
committed
Removed "no-unused-variable" from tslint.json because of unused React import
1 parent f6ce658 commit e6c0e2c

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@
2020
"url": "git://github.com/vaniocz/typescript-dev-stack.git"
2121
},
2222
"scripts": {
23-
"postinstall": "node_modules/.bin/typings install",
24-
"start": "node_modules/.bin/webpack-dev-server --hot --content-base ./build",
23+
"postinstall": "typings install",
24+
"start": "webpack-dev-server --hot --content-base ./build",
2525
"test": "npm run mocha && npm run karma",
26-
"build": "node_modules/.bin/webpack",
27-
"build:dev": "node_modules/.bin/webpack -d",
28-
"lint": "node_modules/.bin/tslint \"!(node_modules|typings)/**/*.ts?(x)\"",
29-
"mocha": "node_modules/.bin/mocha-webpack --webpack-config webpack.config.js \"tests/runner.js\" --colors",
30-
"mocha:coverage": "node_modules/.bin/mocha-webpack --webpack-config webpack.config.js \"tests/runner.js\" -R mocha-multi --reporter-options spec=-,remap-istanbul/lib/mochaRemapIstanbul=- --colors",
31-
"karma": "node_modules/.bin/karma start",
32-
"karma:browser": "node_modules/.bin/karma start",
33-
"karma:server": "node_modules/.bin/karma start",
34-
"karma:browser:all": "node_modules/.bin/karma start --detectBrowsers",
35-
"karma:coverage": "node_modules/.bin/karma start",
36-
"karma:browser:coverage": "node_modules/.bin/karma start",
37-
"karma:server:coverage": "node_modules/.bin/karma start"
26+
"build": "webpack",
27+
"build:dev": "webpack -d",
28+
"lint": "tslint \"!(node_modules|typings)/**/*.ts?(x)\"",
29+
"mocha": "mocha-webpack --webpack-config webpack.config.js \"tests/runner.js\" --colors",
30+
"mocha:coverage": "mocha-webpack --webpack-config webpack.config.js \"tests/runner.js\" -R mocha-multi --reporter-options spec=-,remap-istanbul/lib/mochaRemapIstanbul=- --colors",
31+
"karma": "karma start",
32+
"karma:browser": "karma start",
33+
"karma:server": "karma start",
34+
"karma:browser:all": "karma start --detectBrowsers",
35+
"karma:coverage": "karma start",
36+
"karma:browser:coverage": "karma start",
37+
"karma:server:coverage": "karma start"
3838
},
3939
"engines": {
4040
"node": ">=4"

tslint.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"no-string-literal": true,
2828
"no-unreachable": true,
2929
"no-unused-expression": true,
30-
"no-unused-variable": true,
3130
"no-use-before-declare": true,
3231
"no-var-keyword": true,
3332
"no-var-requires": true,

0 commit comments

Comments
 (0)