Skip to content

Commit ab04ebb

Browse files
author
James Hill
committed
Fixed remaining indentation
1 parent ec570cf commit ab04ebb

4 files changed

Lines changed: 148 additions & 148 deletions

File tree

.prettierrc.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"trailingComma": "es5",
3-
"tabWidth": 2,
4-
"semi": true,
5-
"singleQuote": true,
6-
"eslintIntegration": false,
7-
"tslintIntegration": true
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": true,
6+
"eslintIntegration": false,
7+
"tslintIntegration": true
88
}

jest.config.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
* -------------------------------- */
66

77
module.exports = {
8-
testEnvironment: 'jsdom',
9-
globals: { __DEV__: true },
10-
roots: ['<rootDir>'],
11-
collectCoverage: true,
12-
collectCoverageFrom: ['src/**/*.{ts,tsx}'],
13-
coverageDirectory: 'tests/coverage',
14-
coveragePathIgnorePatterns: ['/node_modules/', '(.*).d.ts'],
15-
coverageThreshold: {
16-
global: {
17-
statements: 97,
18-
branches: 92,
19-
functions: 94,
20-
lines: 98,
21-
},
22-
},
23-
transform: {
24-
'^.+\\.tsx?$': 'ts-jest',
25-
},
8+
testEnvironment: 'jsdom',
9+
globals: { __DEV__: true },
10+
roots: ['<rootDir>'],
11+
collectCoverage: true,
12+
collectCoverageFrom: ['src/**/*.{ts,tsx}'],
13+
coverageDirectory: 'tests/coverage',
14+
coveragePathIgnorePatterns: ['/node_modules/', '(.*).d.ts'],
15+
coverageThreshold: {
16+
global: {
17+
statements: 97,
18+
branches: 92,
19+
functions: 94,
20+
lines: 98,
21+
},
22+
},
23+
transform: {
24+
'^.+\\.tsx?$': 'ts-jest',
25+
},
2626
};

tsconfig.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
{
2-
"compilerOptions": {
3-
"baseUrl": "./",
4-
"outDir": "./dist",
5-
"noImplicitAny": true,
6-
"noEmitOnError": true,
7-
"allowSyntheticDefaultImports": true,
8-
"noFallthroughCasesInSwitch": true,
9-
"target": "es6",
10-
"declaration": true,
11-
"module": "commonjs",
12-
"moduleResolution": "node",
13-
"sourceMap": true,
14-
"inlineSourceMap": false,
15-
"inlineSources": false,
16-
"importHelpers": true,
17-
"esModuleInterop": true,
18-
"lib": ["dom", "es2015", "es2016", "es2017"],
19-
"plugins": [
20-
{
21-
"name": "typescript-tslint-plugin",
22-
"alwaysShowRuleFailuresAsWarnings": true
23-
}
24-
]
25-
},
26-
"exclude": ["./dist/**", "node_modules", "./tests/**"]
2+
"compilerOptions": {
3+
"baseUrl": "./",
4+
"outDir": "./dist",
5+
"noImplicitAny": true,
6+
"noEmitOnError": true,
7+
"allowSyntheticDefaultImports": true,
8+
"noFallthroughCasesInSwitch": true,
9+
"target": "es6",
10+
"declaration": true,
11+
"module": "commonjs",
12+
"moduleResolution": "node",
13+
"sourceMap": true,
14+
"inlineSourceMap": false,
15+
"inlineSources": false,
16+
"importHelpers": true,
17+
"esModuleInterop": true,
18+
"lib": ["dom", "es2015", "es2016", "es2017"],
19+
"plugins": [
20+
{
21+
"name": "typescript-tslint-plugin",
22+
"alwaysShowRuleFailuresAsWarnings": true
23+
}
24+
]
25+
},
26+
"exclude": ["./dist/**", "node_modules", "./tests/**"]
2727
}

tslint.json

Lines changed: 99 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,102 @@
11
{
2-
"extends": [
3-
"tslint:recommended",
4-
"tslint-eslint-rules",
5-
"tslint-config-prettier"
6-
],
7-
"linterOptions": {
8-
"exclude": ["./Content/tests/**/*.ts"]
9-
},
10-
"rules": {
11-
"align": false,
12-
"ban": false,
13-
"class-name": true,
14-
"comment-format": [true, "check-space"],
15-
"curly": false,
16-
"eofline": false,
17-
"forin": true,
18-
"indent": false,
19-
"no-reference": true,
20-
"interface-name": true,
21-
"jsdoc-format": true,
22-
"label-position": true,
23-
"max-line-length": [true, 140],
24-
"ordered-imports": [false],
25-
"no-any": false,
26-
"no-arg": true,
27-
"no-bitwise": false,
28-
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
29-
"no-consecutive-blank-lines": [true, 2],
30-
"no-construct": true,
31-
"no-constructor-vars": false,
32-
"no-debugger": true,
33-
"no-shadowed-variable": true,
34-
"no-duplicate-variable": true,
35-
"no-empty": true,
36-
"no-eval": true,
37-
"no-internal-module": true,
38-
"no-require-imports": true,
39-
"no-string-literal": true,
40-
"no-switch-case-fall-through": true,
41-
"trailing-comma": true,
42-
"no-this-assignment": [
43-
true,
44-
{
45-
"allow-destructuring": true
46-
}
47-
],
48-
"prefer-const": true,
49-
"member-ordering": [false],
50-
"object-literal-sort-keys": false,
51-
"no-trailing-whitespace": true,
52-
"no-unused-expression": true,
53-
"no-var-keyword": true,
54-
"no-var-requires": false,
55-
"no-namespace": [true, "allow-declarations"],
56-
"one-line": [
57-
true,
58-
"check-open-brace",
59-
"check-catch",
60-
"check-else",
61-
"check-whitespace"
62-
],
63-
"quotemark": [true, "single"],
64-
"radix": true,
65-
"semicolon": false,
66-
"switch-default": true,
67-
"triple-equals": [true, "allow-null-check"],
68-
"typedef": [
69-
false,
70-
"call-signature",
71-
"parameter",
72-
"property-declaration",
73-
"member-variable-declaration"
74-
],
75-
"typedef-whitespace": [
76-
true,
77-
{
78-
"call-signature": "nospace",
79-
"index-signature": "nospace",
80-
"parameter": "nospace",
81-
"property-declaration": "nospace",
82-
"variable-declaration": "nospace"
83-
}
84-
],
85-
"variable-name": [true, "ban-keywords"],
86-
"whitespace": [
87-
true,
88-
"check-branch",
89-
"check-decl",
90-
"check-operator",
91-
"check-separator",
92-
"check-type",
93-
"check-preblock"
94-
],
95-
"ter-newline-after-var": true
96-
},
97-
"jsRules": {
98-
"max-line-length": {
99-
"options": [120]
2+
"extends": [
3+
"tslint:recommended",
4+
"tslint-eslint-rules",
5+
"tslint-config-prettier"
6+
],
7+
"linterOptions": {
8+
"exclude": ["./Content/tests/**/*.ts"]
9+
},
10+
"rules": {
11+
"align": false,
12+
"ban": false,
13+
"class-name": true,
14+
"comment-format": [true, "check-space"],
15+
"curly": false,
16+
"eofline": false,
17+
"forin": true,
18+
"indent": false,
19+
"no-reference": true,
20+
"interface-name": true,
21+
"jsdoc-format": true,
22+
"label-position": true,
23+
"max-line-length": [true, 140],
24+
"ordered-imports": [false],
25+
"no-any": false,
26+
"no-arg": true,
27+
"no-bitwise": false,
28+
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
29+
"no-consecutive-blank-lines": [true, 2],
30+
"no-construct": true,
31+
"no-constructor-vars": false,
32+
"no-debugger": true,
33+
"no-shadowed-variable": true,
34+
"no-duplicate-variable": true,
35+
"no-empty": true,
36+
"no-eval": true,
37+
"no-internal-module": true,
38+
"no-require-imports": true,
39+
"no-string-literal": true,
40+
"no-switch-case-fall-through": true,
41+
"trailing-comma": true,
42+
"no-this-assignment": [
43+
true,
44+
{
45+
"allow-destructuring": true
10046
}
101-
}
47+
],
48+
"prefer-const": true,
49+
"member-ordering": [false],
50+
"object-literal-sort-keys": false,
51+
"no-trailing-whitespace": true,
52+
"no-unused-expression": true,
53+
"no-var-keyword": true,
54+
"no-var-requires": false,
55+
"no-namespace": [true, "allow-declarations"],
56+
"one-line": [
57+
true,
58+
"check-open-brace",
59+
"check-catch",
60+
"check-else",
61+
"check-whitespace"
62+
],
63+
"quotemark": [true, "single"],
64+
"radix": true,
65+
"semicolon": false,
66+
"switch-default": true,
67+
"triple-equals": [true, "allow-null-check"],
68+
"typedef": [
69+
false,
70+
"call-signature",
71+
"parameter",
72+
"property-declaration",
73+
"member-variable-declaration"
74+
],
75+
"typedef-whitespace": [
76+
true,
77+
{
78+
"call-signature": "nospace",
79+
"index-signature": "nospace",
80+
"parameter": "nospace",
81+
"property-declaration": "nospace",
82+
"variable-declaration": "nospace"
83+
}
84+
],
85+
"variable-name": [true, "ban-keywords"],
86+
"whitespace": [
87+
true,
88+
"check-branch",
89+
"check-decl",
90+
"check-operator",
91+
"check-separator",
92+
"check-type",
93+
"check-preblock"
94+
],
95+
"ter-newline-after-var": true
96+
},
97+
"jsRules": {
98+
"max-line-length": {
99+
"options": [120]
100+
}
101+
}
102102
}

0 commit comments

Comments
 (0)