Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Commit

Permalink
feat: turn off promise linter (#19)
Browse files Browse the repository at this point in the history
* trigger publish

* turn off promise
  • Loading branch information
Michiel87 authored Mar 13, 2020
1 parent d27e240 commit 21200d5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions testing.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const OFF = 0,
WARN = 1,
const OFF = 0,
WARN = 1,
ERROR = 2

const JEST_RULES = {
Expand Down Expand Up @@ -30,10 +30,10 @@ const JEST_RULES = {
'jest/prefer-todo': OFF,
'jest/require-top-level-describe': OFF,
'jest/require-tothrow-message': OFF,

'jest/no-alias-methods': WARN,
'jest/no-disabled-tests': WARN,

'jest/consistent-test-it': [ERROR, { 'fn': 'it', 'withinDescribe': 'it' }],
'jest/no-focused-tests': ERROR,
'jest/no-jasmine-globals': ERROR,
Expand All @@ -44,7 +44,7 @@ const JEST_RULES = {
'jest/prefer-to-have-length': ERROR,
'jest/valid-describe': ERROR,
'jest/valid-expect': ERROR,
'jest/valid-expect-in-promise': ERROR,
'jest/valid-expect-in-promise': OFF,
}

const JEST_FORMATTING_RULES = {
Expand All @@ -67,12 +67,12 @@ module.exports = {
'jest',
'jest-formatting'
],

rules: {
...JEST_RULES,
...JEST_FORMATTING_RULES
},

'settings': {
'react': {
'version': 'detect'
Expand Down

0 comments on commit 21200d5

Please sign in to comment.