tslint-loader
tslint-loader copied to clipboard
How to add external ESLint configs?
It looks like there is support for ESLint. Can someone help me include the Google JS style guide? I installed the dependencies as defined here: https://github.com/google/eslint-config-google
Updated my tslint.json file to this:
{
"extends": ["tslint:recommended", "google"],
"rules": {
"quotemark": [true, "single", "avoid-escape"]
}
}
This results in build errors.
Sorry, first time webpack user....
{ test: /\.ts$/, enforce: 'pre', loader: 'tslint-loader', options: { configFile: './tslint.json' } }
@plingampally What is Webpack config? Removing the google rules removes the error?
@kirilpopov and @blacksonic thanks can you guys put this config file in the documentation... this is very important to a professional build process.