Skip to content

Commit

Permalink
feat: set no-jasmine-globals to error in recommended ruleset
Browse files Browse the repository at this point in the history
BREAKING CHANGE: recommend erroring for `no-jasmine-globals` rule
  • Loading branch information
G-Rath authored and SimenB committed Sep 4, 2020
1 parent 22113db commit 7080952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/rules.test.ts.snap
Expand Up @@ -70,7 +70,7 @@ Object {
"jest/no-export": "error",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/no-jasmine-globals": "warn",
"jest/no-jasmine-globals": "error",
"jest/no-jest-import": "error",
"jest/no-mocks-import": "error",
"jest/no-standalone-expect": "error",
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-jasmine-globals.ts
Expand Up @@ -12,7 +12,7 @@ export default createRule({
docs: {
category: 'Best Practices',
description: 'Disallow Jasmine globals',
recommended: 'warn',
recommended: 'error',
},
messages: {
illegalGlobal:
Expand Down

0 comments on commit 7080952

Please sign in to comment.