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

Commit b15b6ca

Browse files
author
Face Kapow
committed
Move .eslint* to root, lint & ES6 js/components/dns-client/*, js/index.js, js/version.js, js/__loader.js, switch airbnb eslint config
1 parent 7075732 commit b15b6ca

12 files changed

+407
-466
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
js/deps/
2+
js/modules/inherits.js

.eslintrc

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
extends:
2+
- airbnb-base
3+
4+
globals:
5+
debug: true
6+
__SYSCALL: true
7+
runtime: true
8+
9+
env:
10+
es6: true
11+
node: true
12+
13+
rules:
14+
strict:
15+
- 2
16+
- 'global'
17+
max-len:
18+
- 2
19+
-
20+
code: 100
21+
tabWidth: 2
22+
ignoreComments: true
23+
ignoreUrls: true
24+
consistent-return: 1
25+
no-underscore-dangle: 0
26+
27+
parserOptions:
28+
ecmaVersion: 6
29+
sourceType: 'script'
30+
ecmaFeatures:
31+
modules: false
32+
defaultParams: true
33+
classes: true
34+
arrowFunctions: true
35+
blockBindings: true
36+
forOf: true
37+
spread: true
38+
templateStrings: true

js/.eslintignore

-2
This file was deleted.

js/.eslintrc

-9
This file was deleted.

0 commit comments

Comments
 (0)