Skip to content

Commit

Permalink
turn off tslint (cs01#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad Smith authored Aug 23, 2020
1 parent c0454d3 commit e1cfa77
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 1,354 deletions.
52 changes: 24 additions & 28 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
{
"env": {
"browser": true,
"es6": true,
"jquery": true
"env": {
"browser": true,
"es6": true,
"jquery": true
},
"globals": {
"initial_data": true,
"module": true,
"_": true,
"moment": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"globals":{
"initial_data": true,
"module": true,
"_": true,
"moment": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"no-console": [
0
],
"react/jsx-uses-vars": 1
},
"parser": "babel-eslint"
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"no-console": [0],
"react/jsx-uses-vars": 1
},
"parser": "babel-eslint"
}
29 changes: 13 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,42 @@
"start": "cross-env NODE_ENV=development webpack --mode development --watch --config webpack.config.js",
"test": "jest",
"build": "cross-env NODE_ENV=production webpack --mode production --config webpack.config.js",
"prettier": "prettier ./gdbgui/src/js/** --write"
"format": "prettier ./gdbgui/src/js/** --write",
"lint": "prettier ./gdbgui/src/js/** --check"
},
"dependencies": {
"@types/jquery": "^3.5.1",
"@types/socket.io": "^2.1.11",
"@types/socket.io-client": "^1.4.33",
"cross-env": "^7.0.2",
"css-loader": "^3.6.0",
"prettier": "^1.12.0",
"react": "^16.8",
"react-dom": "^16.4",
"socket.io": "2.0.3",
"socket.io-client": "2.0.3",
"statorgfc": "^0.1.6",
"style-loader": "^1.2.1",
"tailwindcss": "^1.5.1",
"webpack": "4.19.0",
"webpack-cli": "^2.0.14",
"xterm": "4.8.0",
"xterm-addon-fit": "^0.4.0",
"xterm-addon-web-links": "^0.4.0",
"xterm-addon-webgl": "^0.4.0"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/jquery": "^3.5.1",
"@types/react": "^16.8.7",
"@types/react-dom": "^16.8.2",
"@types/socket.io": "^2.1.11",
"@types/socket.io-client": "^1.4.33",
"autoprefixer": "^9.8.5",
"cross-env": "^7.0.2",
"css-loader": "^3.6.0",
"fork-ts-checker-webpack-plugin": "^1.0.0",
"jest": "^24.3.1",
"mini-css-extract-plugin": "^0.9.0",
"postcss-cli": "^7.1.1",
"postcss-loader": "^3.0.0",
"prettier": "^1.12.0",
"style-loader": "^1.2.1",
"tailwindcss": "^1.5.1",
"ts-jest": "^24.0.0",
"ts-loader": "^5.3.3",
"ts-migrate": "^0.1.0",
"tslint": "^5.13.1",
"tslint-config-prettier": "^1.18.0",
"tslint-loader": "^3.5.4",
"typescript": "^3.3.3333"
"typescript": "^3.3.3333",
"webpack": "4.19.0",
"webpack-cli": "^2.0.14"
}
}
14 changes: 1 addition & 13 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,13 @@ module.exports = {
experimentalWatchApi: true,
transpileOnly: true
}
},
{
loader: "tslint-loader",
options: {
fix: true,
typeCheck: true
}
}
],
exclude: /node_modules/
}
]
},
plugins: [
new ForkTsCheckerWebpackPlugin({
tslint: true,
tslintAutoFix: true
})
],
plugins: [new ForkTsCheckerWebpackPlugin({})],
resolve: {
extensions: [".js", ".ts", ".tsx", ".css"]
}
Expand Down
Loading

0 comments on commit e1cfa77

Please sign in to comment.