Skip to content

Commit b374e0a

Browse files
committed
Allow 'continue' and bump to 1.0.2
1 parent ae773d5 commit b374e0a

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

packages/eslint-config-transit/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = {
1010
rules: {
1111
'no-param-reassign': 'off',
1212
'no-use-before-define': 'off',
13+
'no-continue': 'off',
1314
'radix': 'off',
1415
'max-len': ['error', 120, 2],
1516
'quote-props': ['error', 'consistent'],

packages/eslint-config-transit/package-lock.json

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/eslint-config-transit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-transit",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Transit's ESLint config",
55
"main": "index.js",
66
"scripts": {

packages/eslint-config-transit/test/eslint-config-transit-test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,10 @@ testMyTrailingComma();
6666
for (const item of [() => {}, () => {}, () => {}]) {
6767
item();
6868
}
69+
70+
// Allow continue
71+
for (const item of [() => {}, () => 1, () => {}]) {
72+
if (item() === 1) {
73+
continue;
74+
}
75+
}

0 commit comments

Comments
 (0)