mobify-code-style icon indicating copy to clipboard operation
mobify-code-style copied to clipboard

Remove confusing lint rules

Open rsexton404 opened this issue 5 years ago • 0 comments

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, run npm 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

rsexton404 avatar Apr 10 '19 21:04 rsexton404