Open Zharkan opened 1 year ago
@Zharkan need help!, got this error while making a minor commit
$ git commit -m "add wifi qr code generator"
> frontend-template-nextjs@0.1.0 style:lint
> eslint '**/*.{js,jsx,ts,tsx}'
Oops! Something went wrong! :(
ESLint: 8.39.0
No files matching the pattern "'**/*.{js,jsx,ts,tsx}'" were found.
Please check for typing mistakes in the pattern.
husky - pre-commit hook exited with code 2 (error)
Hi @shivamganwani,
This means that the linter has detected a formatting problem. You have to use Prettier to format your code, according the coding standard, before you can make a commit.
@raphaelsanchez can you please tell me the steps to run lint on the files
Yep sur @shivamganwani. If you are using vscode, install Prettier plugin. Then, in vscode settings activate the "format on save" option.
Instaling the plugin from vscode has lead to updation of ESLint from 8.39.0 to 8.40.0, is that okay? @raphaelsanchez
@shivamganwani This will update your eslint plugin, but in any case, it will be the Eslint config file that will prevail. @Zharkan you're agree with that ?
Sorry for the late reply, it doesn't really matter if you upgrade the npm dependency, no worries.
Description:
Currently, our QR code generator only supports generating codes for text input and emails. It would be useful to add a feature that generates QR codes for WiFi network information, such as SSID, password, and encryption type. The inputs required would be:
This feature would be useful for quickly sharing WiFi network information with friends, family, and colleagues. It would also make it easier for people to connect to WiFi networks without manually entering the SSID and password. This would be a good first issue for contributors to work on, and we welcome any pull requests to implement this feature.