package se.vandmo.textchecker.maven;

import static java.util.Arrays.asList;

import java.io.File;
import java.util.Collection;

import se.vandmo.textchecker.maven.rules.ConsistentLineSeparator;
import se.vandmo.textchecker.maven.rules.EndsWithLineSeparator;
import se.vandmo.textchecker.maven.rules.NoTabs;
import se.vandmo.textchecker.maven.rules.NoTrailingWhitespaceOnNonBlankLines;
import se.vandmo.textchecker.maven.rules.NoWhitespaceOnBlankLines;
import se.vandmo.textchecker.maven.rules.NotExecutable;


public final class RulesResolver {

  public Collection<Rule> getRulesFor(File file) {
    return asList(
      new NoTabs(),
      new NoTrailingWhitespaceOnNonBlankLines(),
      new NoWhitespaceOnBlankLines(),
      new NotExecutable(),
      new ConsistentLineSeparator(),
      new EndsWithLineSeparator());
  }

}

@@ -450,64 +450,8 @@
 es;%0A
-import se.vandmo.textchecker.maven.rules.NotExecutable;%0A
 %0A%0Apu
@@ -665,35 +665,8 @@
 (),%0A
-      new NotExecutable(),%0A
     

Remove NotExecutable check, bad on Windows