GithubHelp home page GithubHelp logo

gulp-drupal-tasks's People

Contributors

dependabot[bot] avatar leo72 avatar rbayliss avatar

Watchers

 avatar  avatar

gulp-drupal-tasks's Issues

Add test:phpunit task

Should run PHPUnit tests. The config file and the suite should be configurable, and there should be a way to get junit output.

Allow configurable baseUrl

Maybe we should do this through a CLI flag instead of in the config file? Either way, it exists in the scaffold, but it's not configurable here.

build:js:watch is not failure tolerant

Failures during compilation of JS will cause the build:watch or build:watch:js tasks to exit silently. The watch should continue even if compilation fails. It should show a message to indicate that the compilation has failed though.

Additionally, build:js and build should continue to output a non-zero exit code if js compilation has failed.

Add --fix mode for check tasks

ESlint has a pretty awesome --fix mode that's will clean up your standards violations for you. Other static code linters offer similar tools, and it would be a nice shortcut to have this available as a one stop shop on the check* tasks. So you'd just run gulp check --fix and it would auto-fix everything it could. I think step 1 is adding this flag and wiring it up to ESLint. Then we can see what kind of crazy hoops we'll have to jump through for PHPCS.

Switch to a modern PHP linting tool

PHPCS is slow, hard to configure, prone to failure, and generally not very nice to use.

Let's switch to something else. There's php-cs-fixer, and probably others out there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.