Permalink
Commits on Jan 11, 2019
  1. Eslint config: add new rule `react-hooks/rules-of-hooks`

    mrtnzlml authored and michalsanger committed Jan 11, 2019
    So far it's warning because of backward compatibility but I will turn in into error (with other rules) in next version 3.0...
  2. Remove commit hashes from the changelogs

    mrtnzlml committed Jan 11, 2019
    It's not a pleasant experience to do this manually. I want to remove it because it's really annoying and difficult to do it correctly. I think better approach would be to have there a "diff" link pointing from version to version. This can be done automatically.
Commits on Jan 10, 2019
  1. Eslint config: add warning for 'new-cap' rule

    mrtnzlml authored and Michal Sanger committed Jan 9, 2019
  2. Upgrade all dependencies

    mrtnzlml authored and Michal Sanger committed Jan 9, 2019
    There are no breaking updates so no issues expected. Mostly eslint related changes.
  3. Eslint config: release version 2.1 with new warnings

    mrtnzlml authored and Michal Sanger committed Jan 9, 2019
    New warnings for rules: `no-unused-vars`, `jest/prefer-to-be-null`, `jest/prefer-to-be-undefined`, `jest/prefer-to-contain`, `jest/prefer-to-have-length` and `eslint-comments/no-unlimited-disable`
    
    This is just to get ready for next major version when some of them will be changed to errors (requested from Margarita team).
Commits on Jan 8, 2019
  1. Eslint config: release version 2.0

    mrtnzlml committed Jan 8, 2019
    This version adds support for Prettier (you can fix stylistic issues with `eslint --fix`). I do not expect many breaking changes but since I am not very sure about it I am just bumping the major version. Upgrading should be relatively flawless - just remove the prettier setup you have and you are good to go.
  2. Move Prettier config into @kiwicom/eslint-config

    mrtnzlml authored and Matija Marohnić committed Jan 4, 2019
    There are basically two important files. First is "ourRules" which contains only our definitions. There rules do not contain deprecated fields nor eslint specific rules (see tests). Root index.js then contains our custom rules as well as Prettier rules. This way we can be sure that Prettier is set correctly.
    
    Closes: https://gitlab.skypicker.com/graphql/graphql/issues/396
Commits on Jan 7, 2019
  1. Eslint config: release version 1.5

    mrtnzlml committed Jan 7, 2019
    This version adds support for RN, RNW and adds warnings for shoddy `setState` usages in React.
Commits on Jan 2, 2019
  1. Update NPM dependencies

    mrtnzlml committed Jan 2, 2019
    No breaking changes expected, should be fine.