Skip to content

Commit d1757cc

Browse files
committed
chore: move typescript, tslint, and eslint packages to top-level package.json
Also migrate eslint and tslint configs to top level only. This makes it so that we have one unified configuration across the entire project, rather than each subproject having its own linting rules and typescript version.
1 parent 6e37bd4 commit d1757cc

File tree

13 files changed

+820
-986
lines changed

13 files changed

+820
-986
lines changed
File renamed without changes.

electron-wrapper/package.json

+1-9
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,6 @@
9191
"babel-preset-react": "^6.24.1",
9292
"electron-forge": "^5.1.1",
9393
"electron-prebuilt-compile": "1.8.4",
94-
"eslint": "^3",
95-
"eslint-config-airbnb": "^15",
96-
"eslint-plugin-import": "^2",
97-
"eslint-plugin-jsx-a11y": "^5",
98-
"eslint-plugin-react": "^7",
99-
"standard-version": "^4.3.0",
100-
"tslint": "^5.9.1",
101-
"tslint-config-prettier": "^1.13.0",
102-
"typescript": "^2.8.1"
94+
"standard-version": "^4.3.0"
10395
}
10496
}

electron-wrapper/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import * as isDev from 'electron-is-dev';
99
import { argv } from 'yargs';
1010

1111
// Handle creating/removing shortcuts on Windows when installing/uninstalling.
12-
if (require('electron-squirrel-startup')) { // tslint:disable-line no-var-requires
12+
if (require('electron-squirrel-startup')) {
1313
app.quit();
1414
}
1515

@@ -37,7 +37,7 @@ const urls = {
3737
};
3838

3939
if (argv.dev) {
40-
require('electron-debug')({ // tslint:disable-line no-var-requires
40+
require('electron-debug')({
4141
showDevTools: 'undocked',
4242
enabled: true,
4343
});

electron-wrapper/tslint.json

-15
This file was deleted.

0 commit comments

Comments
 (0)