-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.yml
75 lines (64 loc) · 1.36 KB
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# checkout a sample @ https://github.com/standard/eslint-config-standard/blob/master/eslintrc.json
---
# do not lookup to possible user $HOME/.eslintrc.*
root: true
env:
# browser: true
node: true
es6: true
# The extends property value can omit the eslint-config- prefix of the package name.
# e.g. use "standard" instead of "eslint-config-standard"
extends:
# - standard
- eslint:recommended
# using a plugin sample:
# - plugin:react/recommended
# The plugins property value can omit the eslint-plugin- prefix of the package name.
# e.g. use "react" instead of "eslint-plugin-react"
# ! SAMPLE
# plugins:
# - a-plugin
# ! SAMPLE
overrides:
- files:
- '*.spec.js'
rules:
no-unused-expressions: "off"
# ! SAMPLE for processing markdown
# - files:
# - "*.md"
# processor: a-plugin/markdown
#
# - files:
# - "**/*.md/*.js"
# rules:
# strict: 'off'
#
# - files:
# - "bin/*.js"
# - "lib/*.js"
# excludedFiles:
# - "*.spec.js"
# rules:
# quotes: ["error", "single"]
# ! SAMPLE
# parser: esprima
# ! SAMPLE
parserOptions:
ecmaVersion: 6
sourceType: module
# ecmaFeatures:
# jsx: true
globals:
_: readonly
# $cache: writable
# Promise: 'off'
rules:
comma-dangle: off
no-unused-vars:
- error
- args: none
prefer-destructuring: off
semi:
- error
- never