Commit 25ec1989eeef9d6e326f8b3058bcca7c8567f667
0 parents
chore: initial commit from angular-cli
_ _ _ __ _ _ __ __ _ _ _| | __ _ _ __ ___| (_) / _ | _ \ / _ | | | | |/ _ | __|____ / __| | | | (_| | | | | (_| | |_| | | (_| | | |_____| (__| | | \____|_| |_|\__ |\____|_|\____|_| \___|_|_| |___/
Showing
26 changed files
with
620 additions
and
0 deletions
Show diff stats
1 | +++ a/.editorconfig | ||
1 | +# Editor configuration, see http://editorconfig.org | ||
2 | +root = true | ||
3 | + | ||
4 | +[*] | ||
5 | +charset = utf-8 | ||
6 | +indent_style = space | ||
7 | +indent_size = 2 | ||
8 | +insert_final_newline = true | ||
9 | +trim_trailing_whitespace = true | ||
10 | + | ||
11 | +[*.md] | ||
12 | +max_line_length = off | ||
13 | +trim_trailing_whitespace = false |
1 | +++ a/.gitignore | ||
1 | +# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
2 | + | ||
3 | +# compiled output | ||
4 | +/dist | ||
5 | +/tmp | ||
6 | + | ||
7 | +# dependencies | ||
8 | +/node_modules | ||
9 | + | ||
10 | +# IDEs and editors | ||
11 | +/.idea | ||
12 | +.project | ||
13 | +.classpath | ||
14 | +.c9/ | ||
15 | +*.launch | ||
16 | +.settings/ | ||
17 | + | ||
18 | +# IDE - VSCode | ||
19 | +.vscode/* | ||
20 | +!.vscode/settings.json | ||
21 | +!.vscode/tasks.json | ||
22 | +!.vscode/launch.json | ||
23 | +!.vscode/extensions.json | ||
24 | + | ||
25 | +# misc | ||
26 | +/.sass-cache | ||
27 | +/connect.lock | ||
28 | +/coverage/* | ||
29 | +/libpeerconnection.log | ||
30 | +npm-debug.log | ||
31 | +testem.log | ||
32 | +/typings | ||
33 | + | ||
34 | +# e2e | ||
35 | +/e2e/*.js | ||
36 | +/e2e/*.map | ||
37 | + | ||
38 | +#System Files | ||
39 | +.DS_Store | ||
40 | +Thumbs.db |
1 | +++ a/README.md | ||
1 | +# MainMaps | ||
2 | + | ||
3 | +This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.28.3. | ||
4 | + | ||
5 | +## Development server | ||
6 | +Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. | ||
7 | + | ||
8 | +## Code scaffolding | ||
9 | + | ||
10 | +Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`. | ||
11 | + | ||
12 | +## Build | ||
13 | + | ||
14 | +Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. | ||
15 | + | ||
16 | +## Running unit tests | ||
17 | + | ||
18 | +Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). | ||
19 | + | ||
20 | +## Running end-to-end tests | ||
21 | + | ||
22 | +Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). | ||
23 | +Before running the tests make sure you are serving the app via `ng serve`. | ||
24 | + | ||
25 | +## Deploying to GitHub Pages | ||
26 | + | ||
27 | +Run `ng github-pages:deploy` to deploy to GitHub Pages. | ||
28 | + | ||
29 | +## Further help | ||
30 | + | ||
31 | +To get more help on the `angular-cli` use `ng help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md). |
1 | +++ a/angular-cli.json | ||
1 | +{ | ||
2 | + "project": { | ||
3 | + "version": "1.0.0-beta.28.3", | ||
4 | + "name": "main-maps" | ||
5 | + }, | ||
6 | + "apps": [ | ||
7 | + { | ||
8 | + "root": "src", | ||
9 | + "outDir": "dist", | ||
10 | + "assets": [ | ||
11 | + "assets", | ||
12 | + "favicon.ico" | ||
13 | + ], | ||
14 | + "index": "index.html", | ||
15 | + "main": "main.ts", | ||
16 | + "polyfills": "polyfills.ts", | ||
17 | + "test": "test.ts", | ||
18 | + "tsconfig": "tsconfig.json", | ||
19 | + "prefix": "app", | ||
20 | + "styles": [ | ||
21 | + "styles.css" | ||
22 | + ], | ||
23 | + "scripts": [], | ||
24 | + "environments": { | ||
25 | + "source": "environments/environment.ts", | ||
26 | + "dev": "environments/environment.ts", | ||
27 | + "prod": "environments/environment.prod.ts" | ||
28 | + } | ||
29 | + } | ||
30 | + ], | ||
31 | + "e2e": { | ||
32 | + "protractor": { | ||
33 | + "config": "./protractor.conf.js" | ||
34 | + } | ||
35 | + }, | ||
36 | + "lint": [ | ||
37 | + { | ||
38 | + "files": "src/**/*.ts", | ||
39 | + "project": "src/tsconfig.json" | ||
40 | + }, | ||
41 | + { | ||
42 | + "files": "e2e/**/*.ts", | ||
43 | + "project": "e2e/tsconfig.json" | ||
44 | + } | ||
45 | + ], | ||
46 | + "test": { | ||
47 | + "karma": { | ||
48 | + "config": "./karma.conf.js" | ||
49 | + } | ||
50 | + }, | ||
51 | + "defaults": { | ||
52 | + "styleExt": "css", | ||
53 | + "prefixInterfaces": false, | ||
54 | + "inline": { | ||
55 | + "style": false, | ||
56 | + "template": false | ||
57 | + }, | ||
58 | + "spec": { | ||
59 | + "class": false, | ||
60 | + "component": true, | ||
61 | + "directive": true, | ||
62 | + "module": false, | ||
63 | + "pipe": true, | ||
64 | + "service": true | ||
65 | + } | ||
66 | + } | ||
67 | +} |
1 | +++ a/e2e/app.e2e-spec.ts | ||
1 | +import { MainMapsPage } from './app.po'; | ||
2 | + | ||
3 | +describe('main-maps App', function() { | ||
4 | + let page: MainMapsPage; | ||
5 | + | ||
6 | + beforeEach(() => { | ||
7 | + page = new MainMapsPage(); | ||
8 | + }); | ||
9 | + | ||
10 | + it('should display message saying app works', () => { | ||
11 | + page.navigateTo(); | ||
12 | + expect(page.getParagraphText()).toEqual('app works!'); | ||
13 | + }); | ||
14 | +}); |
1 | +++ a/e2e/tsconfig.json | ||
1 | +{ | ||
2 | + "compileOnSave": false, | ||
3 | + "compilerOptions": { | ||
4 | + "declaration": false, | ||
5 | + "emitDecoratorMetadata": true, | ||
6 | + "experimentalDecorators": true, | ||
7 | + "module": "commonjs", | ||
8 | + "moduleResolution": "node", | ||
9 | + "outDir": "../dist/out-tsc-e2e", | ||
10 | + "sourceMap": true, | ||
11 | + "target": "es5", | ||
12 | + "typeRoots": [ | ||
13 | + "../node_modules/@types" | ||
14 | + ] | ||
15 | + } | ||
16 | +} |
1 | +++ a/karma.conf.js | ||
1 | +// Karma configuration file, see link for more information | ||
2 | +// https://karma-runner.github.io/0.13/config/configuration-file.html | ||
3 | + | ||
4 | +module.exports = function (config) { | ||
5 | + config.set({ | ||
6 | + basePath: '', | ||
7 | + frameworks: ['jasmine', 'angular-cli'], | ||
8 | + plugins: [ | ||
9 | + require('karma-jasmine'), | ||
10 | + require('karma-chrome-launcher'), | ||
11 | + require('karma-remap-istanbul'), | ||
12 | + require('angular-cli/plugins/karma') | ||
13 | + ], | ||
14 | + files: [ | ||
15 | + { pattern: './src/test.ts', watched: false } | ||
16 | + ], | ||
17 | + preprocessors: { | ||
18 | + './src/test.ts': ['angular-cli'] | ||
19 | + }, | ||
20 | + mime: { | ||
21 | + 'text/x-typescript': ['ts','tsx'] | ||
22 | + }, | ||
23 | + remapIstanbulReporter: { | ||
24 | + reports: { | ||
25 | + html: 'coverage', | ||
26 | + lcovonly: './coverage/coverage.lcov' | ||
27 | + } | ||
28 | + }, | ||
29 | + angularCli: { | ||
30 | + config: './angular-cli.json', | ||
31 | + environment: 'dev' | ||
32 | + }, | ||
33 | + reporters: config.angularCli && config.angularCli.codeCoverage | ||
34 | + ? ['progress', 'karma-remap-istanbul'] | ||
35 | + : ['progress'], | ||
36 | + port: 9876, | ||
37 | + colors: true, | ||
38 | + logLevel: config.LOG_INFO, | ||
39 | + autoWatch: true, | ||
40 | + browsers: ['Chrome'], | ||
41 | + singleRun: false | ||
42 | + }); | ||
43 | +}; |
1 | +++ a/package.json | ||
1 | +{ | ||
2 | + "name": "main-maps", | ||
3 | + "version": "0.0.0", | ||
4 | + "license": "MIT", | ||
5 | + "angular-cli": {}, | ||
6 | + "scripts": { | ||
7 | + "ng": "ng", | ||
8 | + "start": "ng serve", | ||
9 | + "test": "ng test", | ||
10 | + "pree2e": "webdriver-manager update --standalone false --gecko false", | ||
11 | + "e2e": "protractor" | ||
12 | + }, | ||
13 | + "private": true, | ||
14 | + "dependencies": { | ||
15 | + "@angular/common": "^2.3.1", | ||
16 | + "@angular/compiler": "^2.3.1", | ||
17 | + "@angular/core": "^2.3.1", | ||
18 | + "@angular/forms": "^2.3.1", | ||
19 | + "@angular/http": "^2.3.1", | ||
20 | + "@angular/platform-browser": "^2.3.1", | ||
21 | + "@angular/platform-browser-dynamic": "^2.3.1", | ||
22 | + "@angular/router": "^3.3.1", | ||
23 | + "core-js": "^2.4.1", | ||
24 | + "rxjs": "^5.0.1", | ||
25 | + "ts-helpers": "^1.1.1", | ||
26 | + "zone.js": "^0.7.2" | ||
27 | + }, | ||
28 | + "devDependencies": { | ||
29 | + "@angular/compiler-cli": "^2.3.1", | ||
30 | + "@types/jasmine": "2.5.38", | ||
31 | + "@types/node": "^6.0.42", | ||
32 | + "angular-cli": "1.0.0-beta.28.3", | ||
33 | + "codelyzer": "~2.0.0-beta.1", | ||
34 | + "jasmine-core": "2.5.2", | ||
35 | + "jasmine-spec-reporter": "2.5.0", | ||
36 | + "karma": "1.2.0", | ||
37 | + "karma-chrome-launcher": "^2.0.0", | ||
38 | + "karma-cli": "^1.0.1", | ||
39 | + "karma-jasmine": "^1.0.2", | ||
40 | + "karma-remap-istanbul": "^0.2.1", | ||
41 | + "protractor": "~4.0.13", | ||
42 | + "ts-node": "1.2.1", | ||
43 | + "tslint": "^4.3.0", | ||
44 | + "typescript": "~2.0.3" | ||
45 | + } | ||
46 | +} |
1 | +++ a/protractor.conf.js | ||
1 | +// Protractor configuration file, see link for more information | ||
2 | +// https://github.com/angular/protractor/blob/master/lib/config.ts | ||
3 | + | ||
4 | +/*global jasmine */ | ||
5 | +var SpecReporter = require('jasmine-spec-reporter'); | ||
6 | + | ||
7 | +exports.config = { | ||
8 | + allScriptsTimeout: 11000, | ||
9 | + specs: [ | ||
10 | + './e2e/**/*.e2e-spec.ts' | ||
11 | + ], | ||
12 | + capabilities: { | ||
13 | + 'browserName': 'chrome' | ||
14 | + }, | ||
15 | + directConnect: true, | ||
16 | + baseUrl: 'http://localhost:4200/', | ||
17 | + framework: 'jasmine', | ||
18 | + jasmineNodeOpts: { | ||
19 | + showColors: true, | ||
20 | + defaultTimeoutInterval: 30000, | ||
21 | + print: function() {} | ||
22 | + }, | ||
23 | + useAllAngular2AppRoots: true, | ||
24 | + beforeLaunch: function() { | ||
25 | + require('ts-node').register({ | ||
26 | + project: 'e2e' | ||
27 | + }); | ||
28 | + }, | ||
29 | + onPrepare: function() { | ||
30 | + jasmine.getEnv().addReporter(new SpecReporter()); | ||
31 | + } | ||
32 | +}; |
1 | +++ a/src/app/app.component.css |
1 | +++ a/src/app/app.component.spec.ts | ||
1 | +/* tslint:disable:no-unused-variable */ | ||
2 | + | ||
3 | +import { TestBed, async } from '@angular/core/testing'; | ||
4 | +import { AppComponent } from './app.component'; | ||
5 | + | ||
6 | +describe('AppComponent', () => { | ||
7 | + beforeEach(() => { | ||
8 | + TestBed.configureTestingModule({ | ||
9 | + declarations: [ | ||
10 | + AppComponent | ||
11 | + ], | ||
12 | + }); | ||
13 | + TestBed.compileComponents(); | ||
14 | + }); | ||
15 | + | ||
16 | + it('should create the app', async(() => { | ||
17 | + const fixture = TestBed.createComponent(AppComponent); | ||
18 | + const app = fixture.debugElement.componentInstance; | ||
19 | + expect(app).toBeTruthy(); | ||
20 | + })); | ||
21 | + | ||
22 | + it(`should have as title 'app works!'`, async(() => { | ||
23 | + const fixture = TestBed.createComponent(AppComponent); | ||
24 | + const app = fixture.debugElement.componentInstance; | ||
25 | + expect(app.title).toEqual('app works!'); | ||
26 | + })); | ||
27 | + | ||
28 | + it('should render title in a h1 tag', async(() => { | ||
29 | + const fixture = TestBed.createComponent(AppComponent); | ||
30 | + fixture.detectChanges(); | ||
31 | + const compiled = fixture.debugElement.nativeElement; | ||
32 | + expect(compiled.querySelector('h1').textContent).toContain('app works!'); | ||
33 | + })); | ||
34 | +}); |
1 | +++ a/src/app/app.module.ts | ||
1 | +import { BrowserModule } from '@angular/platform-browser'; | ||
2 | +import { NgModule } from '@angular/core'; | ||
3 | +import { FormsModule } from '@angular/forms'; | ||
4 | +import { HttpModule } from '@angular/http'; | ||
5 | + | ||
6 | +import { AppComponent } from './app.component'; | ||
7 | + | ||
8 | +@NgModule({ | ||
9 | + declarations: [ | ||
10 | + AppComponent | ||
11 | + ], | ||
12 | + imports: [ | ||
13 | + BrowserModule, | ||
14 | + FormsModule, | ||
15 | + HttpModule | ||
16 | + ], | ||
17 | + providers: [], | ||
18 | + bootstrap: [AppComponent] | ||
19 | +}) | ||
20 | +export class AppModule { } |
1 | +++ a/src/assets/.gitkeep |
1 | +++ a/src/environments/environment.ts | ||
1 | +// The file contents for the current environment will overwrite these during build. | ||
2 | +// The build system defaults to the dev environment which uses `environment.ts`, but if you do | ||
3 | +// `ng build --env=prod` then `environment.prod.ts` will be used instead. | ||
4 | +// The list of which env maps to which file can be found in `angular-cli.json`. | ||
5 | + | ||
6 | +export const environment = { | ||
7 | + production: false | ||
8 | +}; |
No preview for this file type
1 | +++ a/src/index.html | ||
1 | +<!doctype html> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | + <meta charset="utf-8"> | ||
5 | + <title>MainMaps</title> | ||
6 | + <base href="/"> | ||
7 | + | ||
8 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
9 | + <link rel="icon" type="image/x-icon" href="favicon.ico"> | ||
10 | +</head> | ||
11 | +<body> | ||
12 | + <app-root>Loading...</app-root> | ||
13 | +</body> | ||
14 | +</html> |
1 | +++ a/src/main.ts | ||
1 | +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | ||
2 | +import { enableProdMode } from '@angular/core'; | ||
3 | +import { environment } from './environments/environment'; | ||
4 | +import { AppModule } from './app/app.module'; | ||
5 | + | ||
6 | +if (environment.production) { | ||
7 | + enableProdMode(); | ||
8 | +} | ||
9 | + | ||
10 | +platformBrowserDynamic().bootstrapModule(AppModule); |
1 | +++ a/src/polyfills.ts | ||
1 | +// This file includes polyfills needed by Angular and is loaded before the app. | ||
2 | +// You can add your own extra polyfills to this file. | ||
3 | +import 'core-js/es6/symbol'; | ||
4 | +import 'core-js/es6/object'; | ||
5 | +import 'core-js/es6/function'; | ||
6 | +import 'core-js/es6/parse-int'; | ||
7 | +import 'core-js/es6/parse-float'; | ||
8 | +import 'core-js/es6/number'; | ||
9 | +import 'core-js/es6/math'; | ||
10 | +import 'core-js/es6/string'; | ||
11 | +import 'core-js/es6/date'; | ||
12 | +import 'core-js/es6/array'; | ||
13 | +import 'core-js/es6/regexp'; | ||
14 | +import 'core-js/es6/map'; | ||
15 | +import 'core-js/es6/set'; | ||
16 | +import 'core-js/es6/reflect'; | ||
17 | + | ||
18 | +import 'core-js/es7/reflect'; | ||
19 | +import 'zone.js/dist/zone'; | ||
20 | + | ||
21 | +// If you need to support the browsers/features below, uncomment the import | ||
22 | +// and run `npm install import-name-here'; | ||
23 | +// Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html | ||
24 | + | ||
25 | +// Needed for: IE9 | ||
26 | +// import 'classlist.js'; | ||
27 | + | ||
28 | +// Animations | ||
29 | +// Needed for: All but Chrome and Firefox, Not supported in IE9 | ||
30 | +// import 'web-animations-js'; | ||
31 | + | ||
32 | +// Date, currency, decimal and percent pipes | ||
33 | +// Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 | ||
34 | +// import 'intl'; | ||
35 | + | ||
36 | +// NgClass on SVG elements | ||
37 | +// Needed for: IE10, IE11 | ||
38 | +// import 'classlist.js'; |
1 | +++ a/src/test.ts | ||
1 | +// This file is required by karma.conf.js and loads recursively all the .spec and framework files | ||
2 | + | ||
3 | +import 'zone.js/dist/long-stack-trace-zone'; | ||
4 | +import 'zone.js/dist/proxy.js'; | ||
5 | +import 'zone.js/dist/sync-test'; | ||
6 | +import 'zone.js/dist/jasmine-patch'; | ||
7 | +import 'zone.js/dist/async-test'; | ||
8 | +import 'zone.js/dist/fake-async-test'; | ||
9 | +import { getTestBed } from '@angular/core/testing'; | ||
10 | +import { | ||
11 | + BrowserDynamicTestingModule, | ||
12 | + platformBrowserDynamicTesting | ||
13 | +} from '@angular/platform-browser-dynamic/testing'; | ||
14 | + | ||
15 | +// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. | ||
16 | +declare var __karma__: any; | ||
17 | +declare var require: any; | ||
18 | + | ||
19 | +// Prevent Karma from running prematurely. | ||
20 | +__karma__.loaded = function () {}; | ||
21 | + | ||
22 | +// First, initialize the Angular testing environment. | ||
23 | +getTestBed().initTestEnvironment( | ||
24 | + BrowserDynamicTestingModule, | ||
25 | + platformBrowserDynamicTesting() | ||
26 | +); | ||
27 | +// Then we find all the tests. | ||
28 | +const context = require.context('./', true, /\.spec\.ts$/); | ||
29 | +// And load the modules. | ||
30 | +context.keys().map(context); | ||
31 | +// Finally, start Karma to run the tests. | ||
32 | +__karma__.start(); |
1 | +++ a/src/tsconfig.json | ||
1 | +{ | ||
2 | + "compilerOptions": { | ||
3 | + "baseUrl": "", | ||
4 | + "declaration": false, | ||
5 | + "emitDecoratorMetadata": true, | ||
6 | + "experimentalDecorators": true, | ||
7 | + "lib": ["es6", "dom"], | ||
8 | + "mapRoot": "./", | ||
9 | + "module": "es6", | ||
10 | + "moduleResolution": "node", | ||
11 | + "outDir": "../dist/out-tsc", | ||
12 | + "sourceMap": true, | ||
13 | + "target": "es5", | ||
14 | + "typeRoots": [ | ||
15 | + "../node_modules/@types" | ||
16 | + ] | ||
17 | + } | ||
18 | +} |
1 | +++ a/tslint.json | ||
1 | +{ | ||
2 | + "rulesDirectory": [ | ||
3 | + "node_modules/codelyzer" | ||
4 | + ], | ||
5 | + "rules": { | ||
6 | + "callable-types": true, | ||
7 | + "class-name": true, | ||
8 | + "comment-format": [ | ||
9 | + true, | ||
10 | + "check-space" | ||
11 | + ], | ||
12 | + "curly": true, | ||
13 | + "eofline": true, | ||
14 | + "forin": true, | ||
15 | + "import-blacklist": [true, "rxjs"], | ||
16 | + "import-spacing": true, | ||
17 | + "indent": [ | ||
18 | + true, | ||
19 | + "spaces" | ||
20 | + ], | ||
21 | + "interface-over-type-literal": true, | ||
22 | + "label-position": true, | ||
23 | + "max-line-length": [ | ||
24 | + true, | ||
25 | + 140 | ||
26 | + ], | ||
27 | + "member-access": false, | ||
28 | + "member-ordering": [ | ||
29 | + true, | ||
30 | + "static-before-instance", | ||
31 | + "variables-before-functions" | ||
32 | + ], | ||
33 | + "no-arg": true, | ||
34 | + "no-bitwise": true, | ||
35 | + "no-console": [ | ||
36 | + true, | ||
37 | + "debug", | ||
38 | + "info", | ||
39 | + "time", | ||
40 | + "timeEnd", | ||
41 | + "trace" | ||
42 | + ], | ||
43 | + "no-construct": true, | ||
44 | + "no-debugger": true, | ||
45 | + "no-duplicate-variable": true, | ||
46 | + "no-empty": false, | ||
47 | + "no-empty-interface": true, | ||
48 | + "no-eval": true, | ||
49 | + "no-inferrable-types": true, | ||
50 | + "no-shadowed-variable": true, | ||
51 | + "no-string-literal": false, | ||
52 | + "no-string-throw": true, | ||
53 | + "no-switch-case-fall-through": true, | ||
54 | + "no-trailing-whitespace": true, | ||
55 | + "no-unused-expression": true, | ||
56 | + "no-use-before-declare": true, | ||
57 | + "no-var-keyword": true, | ||
58 | + "object-literal-sort-keys": false, | ||
59 | + "one-line": [ | ||
60 | + true, | ||
61 | + "check-open-brace", | ||
62 | + "check-catch", | ||
63 | + "check-else", | ||
64 | + "check-whitespace" | ||
65 | + ], | ||
66 | + "prefer-const": true, | ||
67 | + "quotemark": [ | ||
68 | + true, | ||
69 | + "single" | ||
70 | + ], | ||
71 | + "radix": true, | ||
72 | + "semicolon": [ | ||
73 | + "always" | ||
74 | + ], | ||
75 | + "triple-equals": [ | ||
76 | + true, | ||
77 | + "allow-null-check" | ||
78 | + ], | ||
79 | + "typedef-whitespace": [ | ||
80 | + true, | ||
81 | + { | ||
82 | + "call-signature": "nospace", | ||
83 | + "index-signature": "nospace", | ||
84 | + "parameter": "nospace", | ||
85 | + "property-declaration": "nospace", | ||
86 | + "variable-declaration": "nospace" | ||
87 | + } | ||
88 | + ], | ||
89 | + "typeof-compare": true, | ||
90 | + "unified-signatures": true, | ||
91 | + "variable-name": false, | ||
92 | + "whitespace": [ | ||
93 | + true, | ||
94 | + "check-branch", | ||
95 | + "check-decl", | ||
96 | + "check-operator", | ||
97 | + "check-separator", | ||
98 | + "check-type" | ||
99 | + ], | ||
100 | + | ||
101 | + "directive-selector": [true, "attribute", "app", "camelCase"], | ||
102 | + "component-selector": [true, "element", "app", "kebab-case"], | ||
103 | + "use-input-property-decorator": true, | ||
104 | + "use-output-property-decorator": true, | ||
105 | + "use-host-property-decorator": true, | ||
106 | + "no-input-rename": true, | ||
107 | + "no-output-rename": true, | ||
108 | + "use-life-cycle-interface": true, | ||
109 | + "use-pipe-transform-interface": true, | ||
110 | + "component-class-suffix": true, | ||
111 | + "directive-class-suffix": true, | ||
112 | + "no-access-missing-member": true, | ||
113 | + "templates-use-public": true, | ||
114 | + "invoke-injectable": true | ||
115 | + } | ||
116 | +} |