Skip to content

Commit

Permalink
feat(core): skip json imports
Browse files Browse the repository at this point in the history
Skip imports of json files.

Fixes softarc-consulting#68
  • Loading branch information
rainerhahnekamp committed Jun 1, 2024
1 parent fa43e37 commit cc4024a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions test-projects/angular-i/src/app/customers/data/customers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"person": {
"id": 1,
"firstname": "Volker",
"lastname":"Gruber"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { provideState } from '@ngrx/store';
import { customersFeature } from './customers.reducer';
import { provideEffects } from '@ngrx/effects';
import { CustomersEffects } from './customers.effects';
import "./customers.json"

export const provideCustomers = [
provideState(customersFeature),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
"warningCount": 0,
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"source": "import { provideState } from '@ngrx/store';\nimport { customersFeature } from './customers.reducer';\nimport { provideEffects } from '@ngrx/effects';\nimport { CustomersEffects } from './customers.effects';\n\nexport const provideCustomers = [\n provideState(customersFeature),\n provideEffects([CustomersEffects]),\n];\n",
"source": "import { provideState } from '@ngrx/store';\nimport { customersFeature } from './customers.reducer';\nimport { provideEffects } from '@ngrx/effects';\nimport { CustomersEffects } from './customers.effects';\nimport \"./customers.json\"\n\nexport const provideCustomers = [\n provideState(customersFeature),\n provideEffects([CustomersEffects]),\n];\n",
"usedDeprecatedRules": []
},
{
Expand Down

0 comments on commit cc4024a

Please sign in to comment.