Skip to content

Commit e1cfa77

Browse files
author
Chad Smith
authored
turn off tslint (#349)
1 parent c0454d3 commit e1cfa77

File tree

4 files changed

+77
-1354
lines changed

4 files changed

+77
-1354
lines changed

.eslintrc.json

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,27 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"es6": true,
5-
"jquery": true
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"jquery": true
6+
},
7+
"globals": {
8+
"initial_data": true,
9+
"module": true,
10+
"_": true,
11+
"moment": true
12+
},
13+
"extends": "eslint:recommended",
14+
"parserOptions": {
15+
"ecmaFeatures": {
16+
"experimentalObjectRestSpread": true,
17+
"jsx": true
618
},
7-
"globals":{
8-
"initial_data": true,
9-
"module": true,
10-
"_": true,
11-
"moment": true
12-
},
13-
"extends": "eslint:recommended",
14-
"parserOptions": {
15-
"ecmaFeatures": {
16-
"experimentalObjectRestSpread": true,
17-
"jsx": true
18-
},
19-
"sourceType": "module"
20-
},
21-
"plugins": [
22-
"react"
23-
],
24-
"rules": {
25-
"no-console": [
26-
0
27-
],
28-
"react/jsx-uses-vars": 1
29-
},
30-
"parser": "babel-eslint"
19+
"sourceType": "module"
20+
},
21+
"plugins": ["react"],
22+
"rules": {
23+
"no-console": [0],
24+
"react/jsx-uses-vars": 1
25+
},
26+
"parser": "babel-eslint"
3127
}

package.json

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,45 +6,42 @@
66
"start": "cross-env NODE_ENV=development webpack --mode development --watch --config webpack.config.js",
77
"test": "jest",
88
"build": "cross-env NODE_ENV=production webpack --mode production --config webpack.config.js",
9-
"prettier": "prettier ./gdbgui/src/js/** --write"
9+
"format": "prettier ./gdbgui/src/js/** --write",
10+
"lint": "prettier ./gdbgui/src/js/** --check"
1011
},
1112
"dependencies": {
12-
"@types/jquery": "^3.5.1",
13-
"@types/socket.io": "^2.1.11",
14-
"@types/socket.io-client": "^1.4.33",
15-
"cross-env": "^7.0.2",
16-
"css-loader": "^3.6.0",
17-
"prettier": "^1.12.0",
1813
"react": "^16.8",
1914
"react-dom": "^16.4",
2015
"socket.io": "2.0.3",
2116
"socket.io-client": "2.0.3",
2217
"statorgfc": "^0.1.6",
23-
"style-loader": "^1.2.1",
24-
"tailwindcss": "^1.5.1",
25-
"webpack": "4.19.0",
26-
"webpack-cli": "^2.0.14",
2718
"xterm": "4.8.0",
2819
"xterm-addon-fit": "^0.4.0",
2920
"xterm-addon-web-links": "^0.4.0",
3021
"xterm-addon-webgl": "^0.4.0"
3122
},
3223
"devDependencies": {
3324
"@types/jest": "^24.0.11",
25+
"@types/jquery": "^3.5.1",
3426
"@types/react": "^16.8.7",
3527
"@types/react-dom": "^16.8.2",
28+
"@types/socket.io": "^2.1.11",
29+
"@types/socket.io-client": "^1.4.33",
3630
"autoprefixer": "^9.8.5",
31+
"cross-env": "^7.0.2",
32+
"css-loader": "^3.6.0",
3733
"fork-ts-checker-webpack-plugin": "^1.0.0",
3834
"jest": "^24.3.1",
3935
"mini-css-extract-plugin": "^0.9.0",
4036
"postcss-cli": "^7.1.1",
4137
"postcss-loader": "^3.0.0",
38+
"prettier": "^1.12.0",
39+
"style-loader": "^1.2.1",
40+
"tailwindcss": "^1.5.1",
4241
"ts-jest": "^24.0.0",
4342
"ts-loader": "^5.3.3",
44-
"ts-migrate": "^0.1.0",
45-
"tslint": "^5.13.1",
46-
"tslint-config-prettier": "^1.18.0",
47-
"tslint-loader": "^3.5.4",
48-
"typescript": "^3.3.3333"
43+
"typescript": "^3.3.3333",
44+
"webpack": "4.19.0",
45+
"webpack-cli": "^2.0.14"
4946
}
5047
}

webpack.config.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,13 @@ module.exports = {
2626
experimentalWatchApi: true,
2727
transpileOnly: true
2828
}
29-
},
30-
{
31-
loader: "tslint-loader",
32-
options: {
33-
fix: true,
34-
typeCheck: true
35-
}
3629
}
3730
],
3831
exclude: /node_modules/
3932
}
4033
]
4134
},
42-
plugins: [
43-
new ForkTsCheckerWebpackPlugin({
44-
tslint: true,
45-
tslintAutoFix: true
46-
})
47-
],
35+
plugins: [new ForkTsCheckerWebpackPlugin({})],
4836
resolve: {
4937
extensions: [".js", ".ts", ".tsx", ".css"]
5038
}

0 commit comments

Comments
 (0)