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

Commit

Permalink
Move .eslint* to root, lint & ES6 js/components/dns-client/*, js/inde…
Browse files Browse the repository at this point in the history
…x.js, js/version.js, js/__loader.js, switch airbnb eslint config
  • Loading branch information
Face Kapow committed Jul 8, 2016
1 parent 7075732 commit b15b6ca
Show file tree
Hide file tree
Showing 12 changed files with 407 additions and 466 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
@@ -0,0 +1,2 @@
js/deps/
js/modules/inherits.js
38 changes: 38 additions & 0 deletions .eslintrc
@@ -0,0 +1,38 @@
extends:
- airbnb-base

globals:
debug: true
__SYSCALL: true
runtime: true

env:
es6: true
node: true

rules:
strict:
- 2
- 'global'
max-len:
- 2
-
code: 100
tabWidth: 2
ignoreComments: true
ignoreUrls: true
consistent-return: 1
no-underscore-dangle: 0

parserOptions:
ecmaVersion: 6
sourceType: 'script'
ecmaFeatures:
modules: false
defaultParams: true
classes: true
arrowFunctions: true
blockBindings: true
forOf: true
spread: true
templateStrings: true
2 changes: 0 additions & 2 deletions js/.eslintignore

This file was deleted.

9 changes: 0 additions & 9 deletions js/.eslintrc

This file was deleted.

0 comments on commit b15b6ca

Please sign in to comment.