parent
4afab70414
commit
bb5ba4861d
4 changed files with 51 additions and 0 deletions
32
.codeclimate.yml
Normal file
32
.codeclimate.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
engines:
|
||||
brakeman:
|
||||
enabled: true
|
||||
bundler-audit:
|
||||
enabled: true
|
||||
duplication:
|
||||
enabled: true
|
||||
config:
|
||||
languages:
|
||||
- ruby
|
||||
- javascript
|
||||
eslint:
|
||||
enabled: true
|
||||
fixme:
|
||||
enabled: true
|
||||
rubocop:
|
||||
enabled: true
|
||||
ratings:
|
||||
paths:
|
||||
- 'Gemfile.lock'
|
||||
- '**.erb'
|
||||
- '**.rb'
|
||||
- '**.js'
|
||||
- '**.jsx'
|
||||
exclude_paths:
|
||||
- app/assets/images/
|
||||
- app/assets/javascripts/lib/
|
||||
- frontend/src/patched/
|
||||
- db/
|
||||
- script/
|
||||
- spec/
|
3
.eslintignore
Normal file
3
.eslintignore
Normal file
|
@ -0,0 +1,3 @@
|
|||
**/*{.,-}min.js
|
||||
frontend/src/patched/*
|
||||
app/assets/javascripts/lib/*
|
9
.eslintrc.js
Normal file
9
.eslintrc.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
module.exports = {
|
||||
"sourceType": "module",
|
||||
"parser": "babel-eslint",
|
||||
"extends": "standard",
|
||||
"installedESLint": true,
|
||||
"plugins": [
|
||||
"standard"
|
||||
]
|
||||
};
|
|
@ -36,5 +36,12 @@
|
|||
"socket.io": "0.9.12",
|
||||
"underscore": "^1.4.4",
|
||||
"webpack": "^1.13.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-eslint": "^6.1.2",
|
||||
"eslint": "^3.5.0",
|
||||
"eslint-config-standard": "^6.0.1",
|
||||
"eslint-plugin-promise": "^2.0.1",
|
||||
"eslint-plugin-standard": "^2.0.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue