chore(router): remove lint and format tasks from router

This commit is contained in:
vsavkin 2016-06-20 11:48:08 -07:00
parent d1f93072a8
commit c9d28492b7
4 changed files with 4 additions and 69 deletions

View File

@ -1,3 +0,0 @@
Language: JavaScript
BasedOnStyle: Google
ColumnLimit: 100

View File

@ -14,8 +14,6 @@
"devsetup": "typings install", "devsetup": "typings install",
"rewrite_npm_package": "node --harmony_destructuring tools/rewrite-published-package.js", "rewrite_npm_package": "node --harmony_destructuring tools/rewrite-published-package.js",
"build_bundle": "cp -r src router && tsc typings/index.d.ts src/router.ts --rootDir . --module system -t es5 --outFile dist/bundles/router.js --moduleResolution node --emitDecoratorMetadata --experimentalDecorators", "build_bundle": "cp -r src router && tsc typings/index.d.ts src/router.ts --rootDir . --module system -t es5 --outFile dist/bundles/router.js --moduleResolution node --emitDecoratorMetadata --experimentalDecorators",
"lint": "tslint \"src/**/*.ts\"",
"format": "clang-format -style=file -i --glob=src/**/*.ts"
}, },
"keywords": [ "keywords": [
"angular2", "angular2",
@ -24,14 +22,14 @@
], ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/angular/vladivostok.git" "url": "git+https://github.com/angular/angular.git"
}, },
"author": "vsavkin", "author": "vsavkin",
"license": "MIT", "license": "MIT",
"bugs": { "bugs": {
"url": "https://github.com/angular/vladivostok/issues" "url": "https://github.com/angular/angular/issues"
}, },
"homepage": "https://github.com/angular/vladivostok#readme", "homepage": "https://github.com/angular/angular#readme",
"dependencies": { "dependencies": {
"@angular/common": "^2.0.0-rc.2", "@angular/common": "^2.0.0-rc.2",
"@angular/compiler": "^2.0.0-rc.2", "@angular/compiler": "^2.0.0-rc.2",

View File

@ -120,6 +120,7 @@ export class ActivatedRouteSnapshot {
/** @internal **/ /** @internal **/
_urlSegment: UrlSegment; _urlSegment: UrlSegment;
/** @internal */
_lastPathIndex: number; _lastPathIndex: number;
/** /**

View File

@ -1,61 +0,0 @@
{
"rulesDirectory": ["node_modules/codelyzer"],
"rules": {
"no-inferrable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"spaces"
],
"no-duplicate-variable": true,
"no-eval": true,
"no-arg": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-bitwise": true,
"no-shadowed-variable": false,
"no-unused-expression": true,
"no-unused-variable": true,
"one-line": [
true,
"check-catch",
"check-else",
"check-open-brace",
"check-whitespace"
],
"semicolon": [true, "always"],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"curly": false,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"component-selector-name": [true, "kebab-case"],
"component-selector-type": [true, "element"],
"input-property-directive": true,
"output-property-directive": true
}
}