noopkat / avrgirl-arduino

:girl: :pager: A NodeJS library for flashing compiled sketch files to Arduino microcontroller boards.
MIT License
506 stars 129 forks source link

Can't run `lint` script on Windows #205

Closed soryy708 closed 4 years ago

soryy708 commented 4 years ago

Issue Template

Please review the contribution and code of conduct guidelines.

Description

If you raise an issue on bug/issue please provide the requested information, where not possible, please provide as many details as possible and ultimately a thorough description of your issue.

Expected behaviour

What behaviour did you expect did occur? eslint is invoked with no errors

Actual behaviour

What unexpected behaviour occurred? Error message from eslint:

No files matching the pattern "'tests/*.spec.js'" were found. Please check for typing mistakes in the pattern.

Operating system and version

Please provide version on the operating system etc. used.

Windows (pre version 7)

C:\> ver

Windows (Version 7 and newer)

C:\> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

OS Name: Microsoft Windows 10 Home OS Version: 10.0.19041 N/A Build 19041

Linux and Unix based systems

$ uname -a

For information on the specific distribution. Please consult your distribution documentation.

Avrgirl Arduino version

Please provide version on the Avrgirl Arduino version used

If working in a fork of the GitHub project, obtain this information post installation using:

$ npm list | grep avrgirl-arduino

If you are working on code, which has diverged from the lastest release, please mention this.

NodeJS version

Please provide version on the Node version used.

$ node --version v12.18.3

Arduino Board being used

Please provide version/model on the Arduino board being used.

_A full List of boards and processor names are available on Wikipedia._

Log output, if available

Please add any log output, which can be used to describe the issue or circumstances surrounding the issues.

Step by step guide to reproducing the issue

If possible a code snipppet to demonstrate the issue or a throught step by step description of how to get reproduce the error. fork the repository on Windows npm i npm run lint