mobify-code-style
mobify-code-style copied to clipboard
Remove confusing lint rules
Changes
- Move lint rule on curly brace formatting that is incompatible with Prettier
- Remove lint rules that require a newline at the end of the file and sorted proptypes
How To Test
- Clone this repo and check out this branch
- Run npm link inside the
mobify-code-style
- In any project that has
mobify-code-style
as a dependency, runnpm link mobify-code-style
- Open any source file in the project and try to trigger the lint errors
- Run the linter:
npm run lint
or use an ESLint extension for your editor - You should not see lint erros for the formatting issues described in the changes section
TODOs:
- [ ] +1
- [ ] Updated README
- [ ] Updated CHANGELOG