Skip to content

Commit

Permalink
Merge pull request #17 from shakacode/max-len-ignore-imports
Browse files Browse the repository at this point in the history
[max-len]: ignore `import` statements
  • Loading branch information
justin808 committed Nov 14, 2016
2 parents b003ff0 + ef4fb61 commit f303472
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/eslint-config-shakacode/rules/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,18 @@ rules:
- 2
- args: "all"
argsIgnorePattern: ^_

# http://eslint.org/docs/rules/max-len
# https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/style.js#L128
# Almost identical to airbnb's version, but adds ignore of `import` statements
max-len:
- 2
-
code: 100
tabWidth: 2
ignoreUrls: true
ignoreComments: false
ignoreRegExpLiterals: true
ignoreStrings: true
ignoreTemplateLiterals: true
ignorePattern: ^import\\s+

0 comments on commit f303472

Please sign in to comment.