jamesjuett / lobster

Interactive Program Visualization Tools
8 stars 3 forks source link

Configure Prettier, ESLint, Stylelint #309

Open jamesjuett opened 2 years ago

jamesjuett commented 2 years ago

This PR adds configuration files for Prettier, ESLint, and Stylelint as well as scripts in package.json to run them on the codebase:

"scripts": {
    ...
    "fix-code": "prettier-eslint --write 'src/**/*.ts'",
    "fix-styles": "stylelint --fix '{src,public}/**/*.css'",
    ...
}

It does not include any formatting or linting changes to the code itself.