Skip to content

Commit 27150ef

Browse files
authored
Development (#8)
* Angular 11 update, step 1. * Conversion from TSLint to ESLint. * Drop-down calendar improvements. * Automatic timezone updating. * Updated asteroid and comet data, delta-T, GRS.
1 parent 72753d4 commit 27150ef

79 files changed

Lines changed: 5983 additions & 4874 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
coverage
2+
dist
3+
node_modules
4+
.idea
5+
.nyc_output

.eslintrc.json

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
{
2+
"env": {
3+
"es2017": true,
4+
"mocha": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"standard",
9+
"plugin:@typescript-eslint/eslint-recommended"
10+
],
11+
"globals": {
12+
"Atomics": "readonly",
13+
"SharedArrayBuffer": "readonly"
14+
},
15+
"parser": "@typescript-eslint/parser",
16+
"parserOptions": {
17+
"ecmaVersion": 2018,
18+
"sourceType": "module"
19+
},
20+
"plugins": [
21+
"@typescript-eslint"
22+
],
23+
"ignorePatterns": ["dist/**/*"],
24+
"rules": {
25+
"brace-style": [
26+
"error",
27+
"stroustrup",
28+
{
29+
"allowSingleLine": true
30+
}
31+
],
32+
"camelcase": "off",
33+
"comma-dangle": [
34+
"error",
35+
{
36+
"arrays": "only-multiline",
37+
"objects": "only-multiline",
38+
"imports": "only-multiline",
39+
"exports": "only-multiline",
40+
"functions": "never"
41+
}
42+
],
43+
"curly": "off",
44+
"@typescript-eslint/explicit-function-return-type": "error",
45+
"indent": "off",
46+
"@typescript-eslint/indent": [
47+
"error",
48+
2,
49+
{
50+
"ArrayExpression": "first",
51+
"CallExpression": { "arguments": "off" },
52+
"FunctionDeclaration": { "parameters": "off" },
53+
"FunctionExpression": { "parameters": "off" },
54+
"ignoreComments": true,
55+
"ignoredNodes": [
56+
"ClassProperty[value]",
57+
"NewExpression[arguments] :expression *",
58+
"TSUnionType"
59+
],
60+
"ObjectExpression": "first",
61+
"SwitchCase": 1
62+
}
63+
],
64+
"guard-for-in": "error",
65+
"key-spacing": "off",
66+
"multiline-ternary": "off",
67+
"no-control-regex": "off",
68+
"no-empty": "off",
69+
"no-labels": "off",
70+
"no-mixed-operators": "off",
71+
"no-multi-spaces": "off",
72+
"no-new": "off",
73+
"no-return-assign": "off",
74+
"no-unexpected-multiline": "off",
75+
"no-unused-expressions": "off",
76+
"no-useless-constructor": "off",
77+
"no-unused-vars": "off",
78+
"@typescript-eslint/no-unused-vars": [
79+
"error",
80+
{
81+
"args": "after-used",
82+
"argsIgnorePattern": "^_",
83+
"ignoreRestSiblings": false,
84+
"vars": "all"
85+
}
86+
],
87+
"object-curly-newline": "off",
88+
"object-property-newline": "off",
89+
"one-var": "off",
90+
"operator-linebreak": "off",
91+
"semi": [
92+
"error",
93+
"always"
94+
],
95+
"space-before-function-paren": [
96+
"error",
97+
{
98+
"anonymous": "always",
99+
"named": "never",
100+
"asyncArrow": "always"
101+
}
102+
],
103+
"quotes": [
104+
"error",
105+
"single",
106+
{
107+
"allowTemplateLiterals": true,
108+
"avoidEscape": true
109+
}
110+
],
111+
"yoda": [
112+
"error",
113+
"never",
114+
{
115+
"exceptRange": true
116+
}
117+
]
118+
},
119+
"overrides": [
120+
{
121+
"files": ["*.js", "*.cjs"],
122+
"rules": {
123+
"@typescript-eslint/explicit-function-return-type": "off"
124+
}
125+
}
126+
]
127+
}

LICENSE.md

Lines changed: 56 additions & 228 deletions
Large diffs are not rendered by default.

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"optimization": true,
4848
"outputHashing": "all",
4949
"sourceMap": false,
50-
"extractCss": true,
5150
"namedChunks": false,
5251
"aot": true,
5352
"extractLicenses": true,

e2e/app.po.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
// noinspection ES6UnusedImports
2-
import { browser, by, element } from 'protractor';
1+
import { browser, promise } from 'protractor';
32

43
export class AppPage {
5-
/* tslint:disable */
6-
navigateTo() {
4+
navigateTo(): promise.Promise<any> {
75
return browser.get('/');
86
}
97
}

0 commit comments

Comments
 (0)