Skip to content

Commit d040a78

Browse files
committed
Fix lint for properties
1 parent 25923b7 commit d040a78

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"camelcase": [
4545
"error",
4646
{
47-
"allow": ["UNSAFE_componentDidMount", "_id$", "^UNSAFE_"]
47+
"allow": ["UNSAFE_componentDidMount", "_id$", "^UNSAFE_"],
48+
"properties": "never"
4849
}
4950
],
5051
"react-hooks/rules-of-hooks": "error",

packages/app/src/app/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import theme from '@codesandbox/common/lib/theme';
2727
import { isSafari } from '@codesandbox/common/lib/utils/platform';
2828

2929
// eslint-disable-next-line
30-
import * as child_process from 'node-services/lib/child_process';
30+
import * as childProcess from 'node-services/lib/child_process';
3131

3232
import controller from './controller';
3333
import App from './pages/index';
@@ -238,13 +238,13 @@ window.BrowserFS.configure(
238238
import(
239239
'worker-loader?publicPath=/&name=ext-host-worker.[hash:8].worker.js!./vscode/extensionHostWorker/bootstrappers/ext-host'
240240
).then(ExtHostWorkerLoader => {
241-
child_process.addDefaultForkHandler(ExtHostWorkerLoader.default);
242-
// child_process.preloadWorker('/vs/bootstrap-fork');
241+
childProcess.addDefaultForkHandler(ExtHostWorkerLoader.default);
242+
// childProcess.preloadWorker('/vs/bootstrap-fork');
243243
});
244244

245245
// import('worker-loader?publicPath=/&name=ext-host-worker.[hash:8].worker.js!./vscode/extensionHostWorker/services/searchService').then(
246246
// SearchServiceWorker => {
247-
// child_process.addForkHandler(
247+
// childProcess.addForkHandler(
248248
// 'csb:search-service',
249249
// SearchServiceWorker.default
250250
// );

0 commit comments

Comments
 (0)