Skip to content

Commit

Permalink
Eslint config: use Flow strict
Browse files Browse the repository at this point in the history
kiwicom-source-id: 08cbc38e62218992d6301ba44d96bcce2a6a923e
  • Loading branch information
Martin Zlámal authored and kiwicom-github-bot committed May 14, 2019
1 parent 7a16825 commit 8f0e977
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions changeNextVersionErrorLevel.js
@@ -1,14 +1,16 @@
// @flow
// @flow strict

/*::
// Level "3" is our NEXT_VERSION_ERROR speciality:
type EslintConfigErrorLevel = 0 | 1 | 2 | 'off' | 'warn' | 'error' | 3;
type EslintRuleOption = string | { [name: string]: mixed };
type EslintConfigValues =
| EslintConfigErrorLevel
| [EslintConfigErrorLevel, any]
| [EslintConfigErrorLevel, any, any];
| [EslintConfigErrorLevel, EslintRuleOption]
| [EslintConfigErrorLevel, EslintRuleOption, EslintRuleOption];
type EslintConfig = {
[string]: EslintConfigValues,
Expand Down

0 comments on commit 8f0e977

Please sign in to comment.