Skip to content

Commit 2bb7500

Browse files
committed
updated config files
1 parent 5cb6a63 commit 2bb7500

File tree

4 files changed

+65
-15
lines changed

4 files changed

+65
-15
lines changed

.codeclimate.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ engines:
88
- javascript
99
eslint:
1010
enabled: true
11-
channel: "eslint-3"
11+
channel: "eslint-6"
1212
checks:
1313
import/no-unresolved:
1414
enabled: false
@@ -18,9 +18,8 @@ engines:
1818
enabled: true
1919
ratings:
2020
paths:
21-
- "**.js"
22-
- "**.css"
23-
- "**.md"
24-
exclude_paths: [
25-
"node_modules/**/*"
26-
]
21+
- "**.js"
22+
- "**.css"
23+
- "**.md"
24+
exclude_paths:
25+
- "node_modules/**/*"

.eslintrc

+17-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
2-
"extends": "airbnb-base",
3-
"rules": {
4-
"comma-dangle": 0,
5-
"indent": [2, 4],
6-
"max-len": [2, 120, { "ignoreStrings": true }],
7-
"radix": [2, "as-needed"],
8-
"no-console": 0
2+
"extends": ["esnext", "esnext/style-guide", "node", "node/style-guide"],
3+
"parserOptions": {
4+
"ecmaVersion": 2017,
5+
"sourceType": "module"
96
},
107
"settings": {
118
"import/core-modules": [ "node_helper" ]
@@ -14,5 +11,18 @@
1411
"browser": true,
1512
"node": true,
1613
"es6": true
14+
},
15+
"rules": {
16+
"import/no-commonjs": 0,
17+
"import/no-nodejs-modules": 0,
18+
"semi": 0,
19+
"comma-dangle": 0,
20+
"indent": ["error", 4],
21+
"template-curly-spacing": 0,
22+
"no-console": 0,
23+
"curly": ["error", "all"],
24+
"array-bracket-spacing": 0,
25+
"space-before-function-paren": 0,
26+
"object-property-newline": ["error", { "allowAllPropertiesOnSameLine": true }]
1727
}
1828
}

.gitignore

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
6+
# Runtime data
7+
pids
8+
*.pid
9+
*.seed
10+
11+
# Directory for instrumented libs generated by jscoverage/JSCover
12+
lib-cov
13+
14+
# Coverage directory used by tools like istanbul
15+
coverage
16+
17+
# nyc test coverage
18+
.nyc_output
19+
20+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21+
.grunt
22+
23+
# node-waf configuration
24+
.lock-wscript
25+
26+
# Compiled binary addons (http://nodejs.org/api/addons.html)
27+
build/Release
28+
29+
# Dependency directories
30+
node_modules
31+
jspm_packages
32+
33+
# Optional npm cache directory
34+
.npm
35+
36+
# Optional REPL history
37+
.node_repl_history
38+
39+
docs/
40+
debug.js
41+
.vscode/launch.json

.mdlrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
all
2-
rules "~MD013", "~MD026", "~MD033"
2+
rules "~MD013", "~MD024", "~MD026", "~MD033"

0 commit comments

Comments
 (0)