Skip to content

Commit 41f6a1c

Browse files
committed
Use 4-space indent for JSON files
1 parent b61b5a6 commit 41f6a1c

File tree

7 files changed

+258
-258
lines changed

7 files changed

+258
-258
lines changed

.oxfmtrc.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3-
"bracketSameLine": true,
4-
"overrides": [
5-
{
6-
"files": ["*.json", "*.yaml"],
7-
"options": {
8-
"tabWidth": 2
9-
}
10-
},
11-
{
12-
"files": ["*.yaml"],
13-
"options": {
14-
"singleQuote": true
15-
}
16-
}
17-
],
18-
"tabWidth": 4
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"bracketSameLine": true,
4+
"overrides": [
5+
{
6+
"files": ["*.yaml"],
7+
"options": {
8+
"tabWidth": 2
9+
}
10+
},
11+
{
12+
"files": ["*.yaml"],
13+
"options": {
14+
"singleQuote": true
15+
}
16+
}
17+
],
18+
"tabWidth": 4
1919
}

angular.json

Lines changed: 134 additions & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,142 @@
11
{
2-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3-
"version": 1,
4-
"newProjectRoot": "projects",
5-
"projects": {
6-
"console": {
7-
"projectType": "application",
8-
"schematics": {
9-
"@schematics/angular:component": {
10-
"style": "scss"
11-
}
12-
},
13-
"root": "",
14-
"sourceRoot": "src",
15-
"prefix": "acc",
16-
"architect": {
17-
"build": {
18-
"builder": "@angular/build:application",
19-
"options": {
20-
"outputPath": {
21-
"base": "dist/console"
22-
},
23-
"index": "src/index.html",
24-
"polyfills": ["zone.js"],
25-
"tsConfig": "tsconfig.app.json",
26-
"inlineStyleLanguage": "scss",
27-
"assets": ["src/favicon.ico", "src/assets"],
28-
"styles": [
29-
"node_modules/@fontsource-variable/roboto/index.css",
30-
"node_modules/@fontsource/material-icons/index.css",
31-
"src/styles.scss"
32-
],
33-
"scripts": [],
34-
"browser": "src/main.ts"
35-
},
36-
"configurations": {
37-
"production": {
38-
"budgets": [
39-
{
40-
"type": "initial",
41-
"maximumWarning": "500kb",
42-
"maximumError": "1mb"
43-
},
44-
{
45-
"type": "anyComponentStyle",
46-
"maximumWarning": "2kb",
47-
"maximumError": "4kb"
48-
}
49-
],
50-
"optimization": {
51-
"styles": {
52-
"inlineCritical": false
53-
}
54-
},
55-
"outputHashing": "all"
56-
},
57-
"staging": {
58-
"fileReplacements": [
59-
{
60-
"replace": "src/environments/environment.ts",
61-
"with": "src/environments/environment.staging.ts"
62-
}
63-
],
64-
"optimization": {
65-
"styles": {
66-
"inlineCritical": false
67-
}
68-
},
69-
"outputHashing": "all"
70-
},
71-
"testing": {
72-
"fileReplacements": [
73-
{
74-
"replace": "src/environments/environment.ts",
75-
"with": "src/environments/environment.testing.ts"
76-
}
77-
],
78-
"optimization": {
79-
"styles": {
80-
"inlineCritical": false
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"console": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "scss"
8111
}
82-
},
83-
"outputHashing": "all"
8412
},
85-
"development": {
86-
"optimization": false,
87-
"extractLicenses": false,
88-
"sourceMap": true,
89-
"namedChunks": true,
90-
"fileReplacements": [
91-
{
92-
"replace": "src/environments/environment.ts",
93-
"with": "src/environments/environment.development.ts"
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "acc",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular/build:application",
19+
"options": {
20+
"outputPath": {
21+
"base": "dist/console"
22+
},
23+
"index": "src/index.html",
24+
"polyfills": ["zone.js"],
25+
"tsConfig": "tsconfig.app.json",
26+
"inlineStyleLanguage": "scss",
27+
"assets": ["src/favicon.ico", "src/assets"],
28+
"styles": [
29+
"node_modules/@fontsource-variable/roboto/index.css",
30+
"node_modules/@fontsource/material-icons/index.css",
31+
"src/styles.scss"
32+
],
33+
"scripts": [],
34+
"browser": "src/main.ts"
35+
},
36+
"configurations": {
37+
"production": {
38+
"budgets": [
39+
{
40+
"type": "initial",
41+
"maximumWarning": "500kb",
42+
"maximumError": "1mb"
43+
},
44+
{
45+
"type": "anyComponentStyle",
46+
"maximumWarning": "2kb",
47+
"maximumError": "4kb"
48+
}
49+
],
50+
"optimization": {
51+
"styles": {
52+
"inlineCritical": false
53+
}
54+
},
55+
"outputHashing": "all"
56+
},
57+
"staging": {
58+
"fileReplacements": [
59+
{
60+
"replace": "src/environments/environment.ts",
61+
"with": "src/environments/environment.staging.ts"
62+
}
63+
],
64+
"optimization": {
65+
"styles": {
66+
"inlineCritical": false
67+
}
68+
},
69+
"outputHashing": "all"
70+
},
71+
"testing": {
72+
"fileReplacements": [
73+
{
74+
"replace": "src/environments/environment.ts",
75+
"with": "src/environments/environment.testing.ts"
76+
}
77+
],
78+
"optimization": {
79+
"styles": {
80+
"inlineCritical": false
81+
}
82+
},
83+
"outputHashing": "all"
84+
},
85+
"development": {
86+
"optimization": false,
87+
"extractLicenses": false,
88+
"sourceMap": true,
89+
"namedChunks": true,
90+
"fileReplacements": [
91+
{
92+
"replace": "src/environments/environment.ts",
93+
"with": "src/environments/environment.development.ts"
94+
}
95+
]
96+
}
97+
},
98+
"defaultConfiguration": "production"
99+
},
100+
"serve": {
101+
"builder": "@angular/build:dev-server",
102+
"configurations": {
103+
"production": {
104+
"buildTarget": "console:build:production"
105+
},
106+
"development": {
107+
"buildTarget": "console:build:development"
108+
}
109+
},
110+
"defaultConfiguration": "development"
111+
},
112+
"extract-i18n": {
113+
"builder": "@angular/build:extract-i18n",
114+
"options": {
115+
"buildTarget": "console:build"
116+
}
117+
},
118+
"test": {
119+
"builder": "@angular/build:karma",
120+
"options": {
121+
"polyfills": ["zone.js", "zone.js/testing"],
122+
"tsConfig": "tsconfig.spec.json",
123+
"inlineStyleLanguage": "scss",
124+
"assets": ["src/favicon.ico", "src/assets"],
125+
"styles": ["src/styles.scss"],
126+
"scripts": []
127+
}
128+
},
129+
"lint": {
130+
"builder": "@angular-eslint/builder:lint",
131+
"options": {
132+
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
133+
}
94134
}
95-
]
96-
}
97-
},
98-
"defaultConfiguration": "production"
99-
},
100-
"serve": {
101-
"builder": "@angular/build:dev-server",
102-
"configurations": {
103-
"production": {
104-
"buildTarget": "console:build:production"
105-
},
106-
"development": {
107-
"buildTarget": "console:build:development"
108135
}
109-
},
110-
"defaultConfiguration": "development"
111-
},
112-
"extract-i18n": {
113-
"builder": "@angular/build:extract-i18n",
114-
"options": {
115-
"buildTarget": "console:build"
116-
}
117-
},
118-
"test": {
119-
"builder": "@angular/build:karma",
120-
"options": {
121-
"polyfills": ["zone.js", "zone.js/testing"],
122-
"tsConfig": "tsconfig.spec.json",
123-
"inlineStyleLanguage": "scss",
124-
"assets": ["src/favicon.ico", "src/assets"],
125-
"styles": ["src/styles.scss"],
126-
"scripts": []
127-
}
128-
},
129-
"lint": {
130-
"builder": "@angular-eslint/builder:lint",
131-
"options": {
132-
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
133-
}
134136
}
135-
}
137+
},
138+
"cli": {
139+
"schematicCollections": ["@angular-eslint/schematics"],
140+
"analytics": false
136141
}
137-
},
138-
"cli": {
139-
"schematicCollections": ["@angular-eslint/schematics"],
140-
"analytics": false
141-
}
142142
}

0 commit comments

Comments
 (0)