Create ESLint configuration files
Created by: CapacitorSet
This PR adds an ESLint configuration, which checks for correct formatting and simple mistakes. It also fixes a couple warnings.
To run the checks, it is sufficient to install eslint (npm install --global eslint
) and run eslint --config .eslint.yml .
.