Client: fix lint

pull/30/head
Chocobozzz 2017-01-15 19:30:14 +01:00
parent d6a5b018b8
commit 9bce75925e
4 changed files with 11 additions and 19 deletions

View File

@ -1,7 +1,6 @@
const helpers = require('./helpers')
const webpackMerge = require('webpack-merge') // used to merge webpack configs
const commonConfig = require('./webpack.common.js') // the settings that are common to prod and dev
const path = require('path')
/**
* Webpack Plugins

View File

@ -10,14 +10,10 @@ const commonConfig = require('./webpack.common.js') // the settings that are com
* Webpack Plugins
*/
const DefinePlugin = require('webpack/lib/DefinePlugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const IgnorePlugin = require('webpack/lib/IgnorePlugin')
const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin')
const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin')
const ProvidePlugin = require('webpack/lib/ProvidePlugin')
const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin')
const WebpackMd5Hash = require('webpack-md5-hash')
const V8LazyParseWebpackPlugin = require('v8-lazy-parse-webpack-plugin')
/**
* Webpack Constants
@ -274,7 +270,7 @@ module.exports = function (env) {
[/\*/, /(?:)/],
[/\[?\(?/, /(?:)/]
],
customAttrAssign: [/\)?\]?=/]
customAttrAssign: [/\)?]?=/]
},
// FIXME: Remove

View File

@ -70,8 +70,8 @@
"string-replace-loader": "^1.0.3",
"style-loader": "^0.13.1",
"ts-helpers": "^1.1.1",
"tslint": "3.15.1",
"tslint-loader": "^2.1.4",
"tslint": "~4.3.1",
"tslint-loader": "^3.3.0",
"typescript": "~2.1.0",
"url-loader": "^0.5.7",
"v8-lazy-parse-webpack-plugin": "^0.3.0",
@ -85,7 +85,7 @@
"zone.js": "~0.7.2"
},
"devDependencies": {
"codelyzer": "0.0.28",
"codelyzer": "2.0.0-beta.4",
"standard": "^8.0.0"
}
}

View File

@ -14,14 +14,11 @@
],
"no-arg": true,
"no-construct": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-unreachable": true,
"no-use-before-declare": true,
"one-line": [true,
"check-open-brace",
@ -35,24 +32,24 @@
"triple-equals": true,
"variable-name": false,
"directive-selector-name": [true, "camelCase"],
"component-selector-name": [true, "kebab-case"],
"directive-selector-type": [true, "attribute"],
"component-selector-type": [true, "element"],
"directive-selector-prefix": [true, "my"],
"component-selector-prefix": [true, "my"],
"directive-selector": [true, "attribute", "my", "camelCase"],
"component-selector": [true, "element", "my", "kebab-case"],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-attribute-parameter-decorator": true,
"no-input-rename": true,
"no-output-rename": true,
"no-forward-ref" :true,
"no-forward-ref": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"pipe-naming": [true, "camelCase", "my"],
"component-class-suffix": true,
"directive-class-suffix": true,
"import-destructuring-spacing": true,
"templates-use-public": true,
"no-access-missing-member": true,
"invoke-injectable": true,
"typedef-whitespace": [ true,
{