Skip to content

Commit

Permalink
[max-len]: ignore import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
alex35mil authored Nov 7, 2016
1 parent b003ff0 commit ef4fb61
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 ef4fb61

Please sign in to comment.