Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit f39f0f9

Browse files
author
Mike Klemarewski
authored
Merge pull request #111 from mobify/update-es6-rules
Remove length restriction & strict rule
2 parents af999fe + 331b844 commit f39f0f9

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.5.1
2+
- Update line length to 200
3+
- Remove 'strict' rule for modules
14
2.5.0
25
- Add an ES6 and JSX standard with lint rules.
36
2.4.4

es6/mobify-es6.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ rules:
1818
# Avoid possible import problems:
1919
import/no-extraneous-dependencies: error
2020
import/no-duplicates: error
21+
import/no-unresolved: 'off'
2122
no-duplicate-imports: error
2223

2324
# Stick with ES6 module syntax
@@ -143,7 +144,7 @@ rules:
143144
- max: 5
144145
max-len:
145146
- error
146-
- code: 100
147+
- code: 200
147148
max-nested-callbacks:
148149
- error
149150
- max: 3
@@ -188,7 +189,6 @@ rules:
188189
space-infix-ops: error
189190
space-unary-ops: error
190191
spaced-comment: error
191-
strict: error
192192
template-curly-spacing: error
193193
unicode-bom:
194194
- error

0 commit comments

Comments
 (0)