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

Lint JavaScript in Pug by providing eslint interface #62

Merged
merged 9 commits into from
May 12, 2019
Merged

Conversation

ezhlobo
Copy link
Owner

@ezhlobo ezhlobo commented Mar 28, 2019

Initial request: #61

Interface

{
  rules: {
    'react-pug/eslint': ['error', {
      // Rules from eslint, these two for instance:
      'no-multi-spaces': 'error',
      'indent': ['error', 2],
    }],
  }
}

Checklist

  • Allow running eslint for JavaScript in Pug
  • Improve LOCs in reports

@ezhlobo ezhlobo changed the title Lint JavaScript in Pug Lint JavaScript in Pug by providing eslint interface May 12, 2019
@ezhlobo ezhlobo merged commit 47c7a21 into next May 12, 2019
@ezhlobo ezhlobo deleted the poc-lint-js branch May 12, 2019 10:33
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

Successfully merging this pull request may close these issues.

1 participant