-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(code): add prettier code formatter
- Loading branch information
1 parent
5bc452c
commit 0665722
Showing
7 changed files
with
168 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package.json | ||
package-lock.json | ||
.git/ | ||
.idea/ | ||
dist/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"printWidth": 140, | ||
"singleQuote": true, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"semi": true, | ||
"arrowParens": "avoid", | ||
"bracketSpacing": false | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
import {NgModule, ModuleWithProviders} from '@angular/core'; | ||
import {ArErrorMessageComponent} from "./ar-error-message-component"; | ||
import {IonicModule} from "ionic-angular"; | ||
import {ArErrorMessageComponent} from './ar-error-message-component'; | ||
import {IonicModule} from 'ionic-angular'; | ||
|
||
@NgModule({ | ||
imports: [ | ||
IonicModule | ||
], | ||
declarations: [ | ||
// declare all components that your module uses | ||
ArErrorMessageComponent | ||
], | ||
exports: [ | ||
// export the component(s) that you want others to be able to use | ||
ArErrorMessageComponent | ||
] | ||
imports: [IonicModule], | ||
declarations: [ | ||
// declare all components that your module uses | ||
ArErrorMessageComponent | ||
], | ||
exports: [ | ||
// export the component(s) that you want others to be able to use | ||
ArErrorMessageComponent | ||
] | ||
}) | ||
export class ArErrorMessageModule { | ||
static forRoot(): ModuleWithProviders { | ||
return { | ||
ngModule: ArErrorMessageModule | ||
}; | ||
} | ||
} | ||
static forRoot(): ModuleWithProviders { | ||
return { | ||
ngModule: ArErrorMessageModule | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from './ar-error-message.module'; | ||
export * from './ar-error-message-component'; | ||
export * from './ar-error-message-component'; |