Skip to content

Commit

Permalink
Let's update how we analyze code in this repo.
Browse files Browse the repository at this point in the history
Let's use this apparently new service.
  • Loading branch information
brentlintner committed May 9, 2016
1 parent 95ee58e commit 4d31b74
Show file tree
Hide file tree
Showing 31 changed files with 515 additions and 200 deletions.
24 changes: 24 additions & 0 deletions .ackrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
--smart-case
--follow

--type-set=plaintext=.md,.mdown,.markdown,.mkdn,.textile,.rst,.txt
--type-set=csv=.txt,.csv,.tsv
--type-set=gettext=.pot,.po
--type-set=slim=.slim
--type-set=haml=.haml
--type-set=rubytemplates=.slim,.erb
--type-set=sass=.sass,.scss

--nogettext

--ignore-dir=vendor
--ignore-dir=node_modules
--ignore-dir=tmp
--ignore-dir=app/assets/images
--ignore-dir=log
--ignore-dir=public
--ignore-dir=coverage
--ignore-dir=.git
--ignore-dir=.bundle
--ignore-dir=haskell/.cabal-sandbox
--ignore-file=is:tags
7 changes: 7 additions & 0 deletions .ctags
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--recurse=yes
--tag-relative=yes
--exclude=.git
--exclude=vendor
--exclude=node_modules
--exclude=public
--exclude=tmp
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ coverage
notes.txt
haskell/dist
ruby/vendor/cache
ruby/*.gem
ruby/.bundle
ruby/coverage
npm-debug.log
haskell/cabal.sandbox.config
haskell/.cabal-sandbox
tmp
tags
haskell/*.tix
12 changes: 0 additions & 12 deletions .hound.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .istanbul.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
reporting:
print: summary
reports:
- lcov
dir: ./coverage
watermarks:
statements: [50, 80]
lines: [50, 80]
functions: [50, 80]
branches: [50, 80]
report-config:
json: {file: coverage-final.json}
text: {file: null, maxCols: 0}
text-lcov: {file: lcov.info}

check:
global:
statements: 100
lines: 100
branches: 100
functions: 100
excludes: []
each:
statements: 100
lines: 100
# HACK: transpile path not taken
branches: 80
functions: 100
excludes: []
8 changes: 0 additions & 8 deletions .jshintignore

This file was deleted.

41 changes: 0 additions & 41 deletions .jshintrc

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
4 changes: 4 additions & 0 deletions .reek.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
IrresponsibleModule:
enabled: false
exclude_paths:
- ruby/spec/fixtures
55 changes: 55 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
AllCops:
TargetRubyVersion: 2.3
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'vendor/**/*'
- 'tmp/**/*'
- 'public/**/*'
- 'node_modules/**/*'
- 'app/assets/images/**/*'
- 'haskell/**/*'
- 'bin/**/*'
Style/FrozenStringLiteralComment:
Enabled: false
Style/MultilineOperationIndentation:
Enabled: false
Style/NestedParenthesizedCalls:
Enabled: false
Metrics/ClassLength:
Enabled: false
Style/Documentation:
Enabled: false
Style/StringLiteralsInInterpolation:
Enabled: false
Style/AccessModifierIndentation:
Enabled: false
Style/ElseAlignment:
Enabled: false
Style/SpaceInsideBrackets:
Enabled: false
Style/Encoding:
Enabled: false
Style/VariableName:
Enabled: false
Style/MethodDefParentheses:
Enabled: false
Style/ModuleFunction:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/GuardClause:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/AccessModifierIndentation:
Enabled: false
Metrics/MethodLength:
Max: 18
Metrics/CyclomaticComplexity:
Max: 7
Style/FileName:
Enabled: false
Style/WordArray:
MinSize: 2
160 changes: 160 additions & 0 deletions .vile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
vile:
ignore:
- .test
- ruby/.bundle/**
- test/fixtures/**
- test/**/*.js
- .ackrc
- appveyor.yml
- bin
- .bundle
- circle.yml
- haskell/dist/**
- haskell/.cabal-sandbox/**
- coverage
- public
- db
- vendor
- tmp
- .git
- node_modules
- .log
- .keep
- tags
- .brakeman.yml
- .ctags
- .editorconfig
- .env
- .eslintignore
- .eslintrc
- .gitignore
- .npmrc
- .reek
- .rspec
- .rubocop.yml
- .ruby-version
- .vile.yml
- LICENSE

rubycritic:
allow:
- ruby
config:
method_count: 10
complexity: 80
churn: 20
rating: "A"

depcheck:
config:
ignore_dev_deps: false
ignore_dirs:
- src
- typings
- node_modules
- coverage
- haskell
- ruby
- tmp
ignore_deps:
- mocha
- babel-cli
- coffee-script
- npm-check-updates
- istanbul
- release-it
- typescript
- wrench
- pryjs
- shelljs
- "@forthright/*"

rubcocop:
config: .rubocop.yml

bundler-audit:
config:
update_db: true

coverage:
config:
path: coverage/lcov.info

eslint:
config: .eslintrc
ignore: .eslintignore

coffeelint:
config: coffeelint.json

length:
config:
file: 100
line: 80
ignore: [
"test/**/*.js",
"test/*.js",
"lib",
"**sandbox.config**"
]

license:
config:
ignored:
- cli-table
- classifier
- dox
- esmangle-evaluator
- growl
- debug
- commander
- log-driver
- microee
- map-stream
- event-stream
- pjs
- uri-templates
- parsimmon
- tweetnacl
- split
- tv4
- forthright/vile-comment
- forthright/vile-eslint
- forthright/vile-length
- forthright/vile-nsp
- forthright/vile-stat
- forthright/vile-tslint
- forthright/vile-whitespace
- forthright/vile-rubocop
- forthright/vile-rubycritic
disallowed: []
allowed:
- CC-BY-3.0
- The MIT License
- MIT
- MIT AND CC-BY-3.0
- MPL
- MPL-2.0
- MPLv2.0
- Public Domain
- PSF
- BSD
- BSD-3-Clause
- BSD-2-Clause
- BSD-3-Clause AND MIT
- BSD-2-Clause OR MIT
- BSD-2-Clause OR WTFPL
- BSD-2-Clause OR MIT OR Apache-2.0
- Unlicense
- Artistic-2.0
- ISC
- WTFPL
- Apache
- Apache2
- Apache-2.0
- Apache 2.0
- Apache*
- Apache License, Version 2.0
- Apachev2
- WTFPL
- GPL
Loading

0 comments on commit 4d31b74

Please sign in to comment.