Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add external ESLint configs? #64

Open
plingampally opened this issue Feb 27, 2017 · 3 comments
Open

How to add external ESLint configs? #64

plingampally opened this issue Feb 27, 2017 · 3 comments

Comments

@plingampally
Copy link

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....

@kirilpopov
Copy link

{ test: /\.ts$/, enforce: 'pre', loader: 'tslint-loader', options: { configFile: './tslint.json' } }

@sonicoder86
Copy link
Collaborator

@plingampally What is Webpack config? Removing the google rules removes the error?

@xtianus79
Copy link

@kirilpopov and @BlackSonic thanks can you guys put this config file in the documentation... this is very important to a professional build process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants