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

Dogfood our eslint config #68

Merged
merged 2 commits into from Jul 22, 2016
Merged

Dogfood our eslint config #68

merged 2 commits into from Jul 22, 2016

Conversation

keyz
Copy link
Contributor

@keyz keyz commented Jul 22, 2016

Implements #66. Also fixed a few errors.

@vjeux seems like checkNodeVersion() in global-cli/index.js is defined but not used -- should we fix this?

@ghost ghost added the CLA Signed label Jul 22, 2016
@@ -10,7 +10,8 @@
"scripts": {
"start": "node scripts/start.js --debug-template",
"build": "node scripts/build.js --debug-template",
"create-react-app": "node global-cli/index.js --scripts-version \"$PWD/`npm pack`\""
"create-react-app": "node global-cli/index.js --scripts-version \"$PWD/`npm pack`\"",
"lint": "eslint --ignore-path .gitignore ./"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we use the .gitignore file as .eslintignore. Without this config it will lint node_modules under global-cli.

@ghost ghost added the CLA Signed label Jul 22, 2016
@ghost ghost added the CLA Signed label Jul 22, 2016
@ghost ghost added the CLA Signed label Jul 22, 2016
@gaearon gaearon merged commit b1ce459 into facebook:master Jul 22, 2016
@gaearon gaearon deleted the dogfood-eslint-config branch July 22, 2016 02:30
@gaearon
Copy link
Contributor

gaearon commented Jul 22, 2016

👍

@@ -69,7 +69,7 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi

files.forEach(function(file) {
console.log('Copying ' + file + ' to ' + hostPath);
content = fs
var content = fs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants