Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

[ESLint] add meteor specific style guide #1416

Merged
merged 4 commits into from
Nov 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ plugins:

settings:
import/core-modules: # don't lint for these missing packages in package.json
- electron # 'electron-prebuilt' is being used
- electron # 'electron' is only needed as devDependency / global installation

rules:
indent:
- 2 # error
- 4 # number of spaces

globals:
i18n: true # don't warn about missing 'i18n' declaration
globals: # don't warn about missing declaration
i18n: true
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import/no-extraneous-dependencies,
no-console,
strict,
prefer-spread,
arrow-body-style */
arrow-body-style,
import/no-unresolved */

'use strict';

Expand Down
5 changes: 5 additions & 0 deletions interface/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
env: # don't warn about no-def meteor keywords
meteor: true

rules:
no-undef: 0