diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c7716d0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,42 @@ +# ln -s .../.editorconfig ~/.editorconfig + +root = true + +# Default to Google Style +# https://code.google.com/p/google-styleguide/ +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true + +# Too many exceptions +max_line_length = 800 + +spaces_around_operators = true +spaces_around_brackets = false +indent_style = space +indent_size = 2 +indent_brace_style = K&R +curly_bracket_next_line = false +continuation_indent_size 4 + +# Makefiles +[{Makefile*,*.mf}] +indent_style = tab + +# Markdown +[{*.md,*.markdown}] +indent_size = 4 + +# JavaScript +[*.js] +quote_type = single + +# Lisp +[{*.lisp,*.scm,*.rkt,*.lsp,*.clj,*.el}] +indent_size = none + +# Windows files +[{*.bat,*reg,*.ps1,*.vbs,*.cs,*.fs,*.ahk}] +end_of_line = crlf diff --git a/.gitignore b/.gitignore index 133b9ba..91e7891 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *.so *.import.* .DS_Store -Gemfile.lock \ No newline at end of file +Gemfile.lock +node_modules/ diff --git a/Makefile b/Makefile index ea25693..a1b4b51 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,10 @@ uninstall: lili: bundle exec lili . -lint: lili +editorconfig: + find . -type f -name Thumbs.db -prune -o -type f -name .DS_Store -prune -o -type d -name .git -prune -o -type d -name .svn -prune -o -type d -name tmp -prune -o -type d -name bin -prune -o -type d -name target -prune -o -name "*.app*" -prune -o -type d -name node_modules -prune -o -type d -name bower_components -prune -o -type f -name "*[-.]min.js" -prune -o -type d -name "*.dSYM" -prune -o -type f -name "*.scpt" -prune -o -type d -name "*.xcodeproj" -prune -o -type d -name .vagrant -prune -o -type f -name .exe -prune -o -type f -name "*.o" -prune -o -type f -name "*.pyc" -prune -o -type f -name "*.hi" -prune -o -type f -name "*.beam" -prune -o -type f -name "*.png" -prune -o -type f -name "*.gif" -prune -o -type f -name "*.jp*g" -prune -o -type f -name "*.ico" -prune -o -type f -name "*.ttf" -prune -o -type f -name "*.zip" -prune -o -type f -name "*.jar" -prune -o -type f -name "*.dot" -prune -o -type f -name "*.pdf" -prune -o -type f -name "*.wav" -prune -o -type f -name "*.mp[34]" -prune -o -type f -name "*.svg" -prune -o -type f -name "*.flip" -prune -o -type f -name "*.class" -prune -o -type f -name "*.jad" -prune -o -type d -name .idea -prune -o -type f -name "*.iml" -prune -o -type f -name "*.log" -prune -o -type f -name "*" -exec node_modules/editorconfig-tools/bin/index.js check {} \; + +lint: lili editorconfig clean: -rm *.so diff --git a/package.json b/package.json new file mode 100644 index 0000000..b2e57f3 --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "cluckcheck", + "description": "a Chicken Scheme port of the QuickCheck unit test framework", + "version": "0.0.0", + "repository": { + "type": "git", + "url": "git://github.com/mcandre/cluckcheck.git" + }, + "author": "Andrew Pennebaker (http://www.yellosoft.us/)", + "directories": { + "lib": "." + }, + "engines": { + "node": ">=0.8" + }, + "scripts": {}, + "dependencies": {}, + "devDependencies": { + "grunt": "~0.4.5", + "grunt-cli": "~0.1.13", + "grunt-exec": "~0.4.6", + "jshint": ">=2.1.2", + "editorconfig-tools": ">= 0.0.1" + } +}