-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed: Messages are now passed via postcss messages api (4.0.0)
- Loading branch information
Showing
6 changed files
with
269 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
--- | ||
ecmaFeatures: | ||
modules: true | ||
jsx: true | ||
|
||
env: | ||
es6: true | ||
browser: true | ||
node: true | ||
|
||
# 0: off, 1: warning, 2: error | ||
rules: | ||
# semicolons are useless | ||
semi: [2, "never"] | ||
|
||
indent: [2, 2] # 2 spaces indentation | ||
max-len: [2, 80, 4] | ||
quotes: [2, "double"] | ||
semi: [2, "never"] | ||
no-multiple-empty-lines: [2, {"max": 1}] | ||
|
||
# 2 spaces indentation | ||
indent: [2, 2] | ||
|
||
# trailing coma are cool for diff | ||
brace-style: [2, "stroustrup"] | ||
comma-dangle: [2, "always-multiline"] | ||
|
||
# enforce comma at eol (never before) | ||
comma-style: [2, "last"] | ||
computed-property-spacing: [2, "never"] | ||
dot-location: [2, "property"] | ||
|
||
one-var: [2, "never"] | ||
no-bitwise: [2] | ||
|
||
space-after-keywords: [2, "always"] | ||
space-before-blocks: [2, "always"] | ||
space-before-function-paren: [2, "never"] | ||
space-in-brackets: [2, "never"] | ||
space-in-parens: [2, "never"] | ||
spaced-line-comment: [2, "always"] | ||
|
||
valid-jsdoc: 2 | ||
# this plugin need a refactoring... | ||
no-use-before-define: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.