jniemann66 / react-chessdiagram

Chess Diagram React Component
MIT License
26 stars 10 forks source link

Linting #2

Closed svangordon closed 7 years ago

svangordon commented 7 years ago

Extend the linting rules with the very useful eslint-plugin-react's presets. These rules get rid of some of the useless error messages (eg, mistaking components for unused variables) and introduces some useful ones (eg, raising a flag when a prop is missing from validation). Once this merged I'll go through and make sure everything lints properly, which isn't difficult.

Also, ignore .eslintcache, because it's not useful to track it (and committing things with information about my local machine's filetree always makes me feel like I've left my curtains open).