Skip to content

Commit bff9eb0

Browse files
jzolnowskiJaroslaw Zolnowski
authored and
Jaroslaw Zolnowski
committed
fix: imports order
1 parent 34a2cd8 commit bff9eb0

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.eslintrc.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,16 @@
116116
"quote-props": "off",
117117
"space-before-function-paren": "off",
118118
"space-in-parens": ["off", "never"],
119-
"import-order/import-order": ["error", {"alphabetize": {"order": "asc", "caseInsensitive": false}}],
119+
"import-order/import-order": [
120+
"error",
121+
{
122+
"alphabetize": {
123+
"order": "asc",
124+
"caseInsensitive": false
125+
},
126+
"order": ["builtin", "external", "parent", "index", "sibling"]
127+
}
128+
],
120129
"rxjs/no-implicit-any-catch": "error",
121130
"rxjs/no-finnish": "error",
122131
"rxjs/no-create": "error",

src/app/angularjs/app-angularjs.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import * as ngAnimate from 'angular-animate';
66
import * as ngAria from 'angular-aria';
77
import * as ngMaterial from 'angular-material';
88
import * as ngSanitize from 'angular-sanitize';
9-
import { appAngularjsComponent } from './app-angularjs.component';
109
import { environment } from '../../environments/environment';
1110
import { AppComponent } from '../angular/app.component';
11+
import { appAngularjsComponent } from './app-angularjs.component';
1212
import { bootstrapAngular } from './bootstrap-module';
1313
import { tabsComponent } from './tabs.component';
1414
import { versionStampComponent } from './version-stamp.component';

0 commit comments

Comments
 (0)