Skip to content

Conversation

claudiu-cristea
Copy link
Contributor

@webflo, this new try is based exclusively on composer.json declared version, it doesn't rely on \Drupal class.

case '8.1':
case '8.2':
$common[] = '.eslintrc';
$common = array_diff($common, ['.eslintrc.json']);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would just remove .eslintrc.json from the initial array. Then add it in default: so that old versions doesn't have to "know" about future files.

@webflo webflo merged commit 3ad465a into drupal-composer:master Nov 5, 2016
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.

2 participants