Skip to content

Commit 3aec1ee

Browse files
committed
Revert "chore(tslint): set rules for tslint"
This reverts commit 68fe74b.
1 parent 68fe74b commit 3aec1ee

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

config/webpack.common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = function(options = {}) {
4242
test: /\.css/,
4343
loaders: [
4444
ExtractTextPlugin.extract({
45-
fallback: "style-loader",
45+
fallbackLoader: "style-loader",
4646
loader: 'css-loader'
4747
}),
4848
'to-string-loader',
@@ -54,7 +54,7 @@ module.exports = function(options = {}) {
5454
test: /\.scss$/,
5555
loaders: [
5656
ExtractTextPlugin.extract({
57-
fallback: 'style-loader',
57+
fallbackLoader: 'style-loader',
5858
loader: 'css-loader'
5959
}),
6060
'to-string-loader',

config/webpack.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = function(options) {
1111
return webpackMerge(commonConfig({ env: ENV }), {
1212
devtool: 'cheap-module-source-map',
1313
devServer: {
14-
port: 3000,
14+
port: 9999,
1515
hot: options.HMR,
1616
stats: {
1717
colors: true,

tslint.json

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,19 @@
1+
12
{
23
"rulesDirectory": [
34
"node_modules/vrsource-tslint-rules/rules",
45
"node_modules/tslint-eslint-rules/dist/rules"
56
],
67
"rules": {
78
//"file-header": [true, "Copyright (c) 2017 Knight Rider Consulting Inc and Alex Winter\\."],
8-
"no-console": [
9-
true,
10-
"log"
11-
],
9+
"no-console": [true, "log"],
1210
"no-duplicate-imports": true,
1311
"no-duplicate-variable": true,
1412
"no-jasmine-focus": true,
1513
"no-var-keyword": true,
16-
//"require-internal-with-underscore": true,
17-
"semicolon": [
18-
true
19-
],
20-
"variable-name": [
21-
true,
22-
"ban-keywords"
23-
],
24-
"no-inner-declarations": [
25-
true,
26-
"function"
27-
]
14+
"require-internal-with-underscore": true,
15+
"semicolon": [true],
16+
"variable-name": [true, "ban-keywords"],
17+
"no-inner-declarations": [true, "function"]
2818
}
2919
}

0 commit comments

Comments
 (0)