Skip to content

Commit

Permalink
chore: initial public release
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Mar 31, 2018
1 parent 541796f commit bb989b6
Show file tree
Hide file tree
Showing 12 changed files with 14,248 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# For more information please visit http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80

[*.php]
indent_size = 4
max_line_length = 80

[*.py]
indent_size = 4
max_line_length = 79

[*.{xml,xml.dist}]
indent_size = 4
max_line_length = 120
197 changes: 197 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
## GITATTRIBUTES FOR WEB PROJECTS
#
# These settings are for any web project.
#
# Details per file setting:
# text These files should be normalized (i.e. convert CRLF to LF).
# binary These files are binary and should be left untouched.
#
# Note that binary is a macro for -text -diff.
######################################################################

## AUTO-DETECT
## Handle line endings automatically for files detected as
## text and leave all files detected as binary untouched.
## This will handle all files NOT defined below.
* text=auto

## Source code
*.bat text eol=crlf
*.coffee text
*.css text
*.htm text
*.html text
*.inc text
*.ini text
*.js text
*.json text
*.jsx text
*.less text
*.od text
*.onlydata text
*.php text
*.pl text
*.py text
*.rb text
*.sass text
*.scm text
*.scss text
*.sh text eol=lf
*.sql text
*.styl text
*.tag text
*.ts text
*.tsx text
*.xml text
*.xhtml text

## Docker
*.dockerignore text
Dockerfile text

## Documentation
*.markdown text
*.md text
*.mdwn text
*.mdown text
*.mkd text
*.mkdn text
*.mdtxt text
*.mdtext text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text

## Templates
*.dot text
*.ejs text
*.haml text
*.handlebars text
*.hbs text
*.hbt text
*.jade text
*.latte text
*.mustache text
*.njk text
*.phtml text
*.tmpl text
*.tpl text
*.twig text

## Linters
.csslintrc text
.eslintrc text
.htmlhintrc text
.jscsrc text
.jshintrc text
.jshintignore text
.stylelintrc text

## Configs
*.bowerrc text
*.cnf text
*.conf text
*.config text
.browserslistrc text
.editorconfig text
.gitattributes text
.gitconfig text
.gitignore text
.htaccess text
*.npmignore text
*.yaml text
*.yml text
browserslist text
Makefile text
makefile text

## Heroku
Procfile text
.slugignore text

## Graphics
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
*.svg text
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary

## Audio
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

## Video
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.swc binary
*.swf binary
*.webm binary

## Archives
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary

## Fonts
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary

## Executables
*.exe binary
*.pyc binary

## Lock files
package-lock.json -diff
yarn.lock -diff
composer.lock -diff
47 changes: 47 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# IDE
.idea
*.iml

# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directoriesq
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Package
dist

# Cache
.eslintcache
39 changes: 39 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
sudo: false

git:
depth: 1

branches:
only:
- master

language: node_js

# cache node modules
cache:
directories:
- $HOME/.npm
- node_modules

matrix:
fast_finish: true
include:
- node_js: '9'
script: npm run $JOB_PART
env: JOB_PART=pretest
- node_js: '9'
script: npm run $JOB_PART
env: JOB_PART=test-only
- node_js: '8'
script: npm run $JOB_PART
env: JOB_PART=test-only
- node_js: '6'
script: npm run $JOB_PART
env: JOB_PART=test-only
sudo: required

before_install:
- 'if [[ `npm -v` != 5* ]]; then npm i -g npm@^5.0.0; fi'
- nvm --version
- node --version
- npm --version
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Change Log

All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org).

## 1.0.0 - 2018-03-31

* Chore: initial public release.
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# npm-package-json-lint-config-itgalaxy

[![NPM version](https://img.shields.io/npm/v/npm-package-json-lint-config-itgalaxy.svg)](https://www.npmjs.org/package/npm-package-json-lint-config-itgalaxy)
[![Travis Build Status](https://img.shields.io/travis/itgalaxy/npm-package-json-lint-config-itgalaxy/master.svg?label=build)](https://travis-ci.org/itgalaxy/npm-package-json-lint-config-itgalaxy)
[![dependencies Status](https://david-dm.org/itgalaxy/npm-package-json-lint-config-itgalaxy/status.svg)](https://david-dm.org/itgalaxy/npm-package-json-lint-config-itgalaxy)
[![devDependencies Status](https://david-dm.org/itgalaxy/npm-package-json-lint-config-itgalaxy/dev-status.svg)](https://david-dm.org/itgalaxy/npm-package-json-lint-config-itgalaxy?type=dev)
[![peerDependencies Status](https://david-dm.org/itgalaxy/npm-package-json-lint-config-itgalaxy/peer-status.svg)](https://david-dm.org/itgalaxy/npm-package-json-lint-config-itgalaxy?type=peer)
[![Greenkeeper badge](https://badges.greenkeeper.io/itgalaxy/npm-package-json-lint-config-itgalaxy.svg)](https://greenkeeper.io)

## Installation

You'll first need to install [npm-package-json-lint](https://github.com/tclindner/npm-package-json-lint):

```shell
$ npm i npm-package-json-lint --save-dev
```

Next, install `npm-package-json-lint-config-itgalaxy`:

```shell
$ npm install npm-package-json-lint-config-itgalaxy --save-dev
```

## Usage

Add the following to your `.npmpackagejsonlintrc.json` or `npmpackagejsonlint.config.js` file:

```json
{
"extends": "npm-package-json-lint-config-itgalaxy"
}
```

If you need to override a rule, your `.npmpackagejsonlintrc.json` or `npmpackagejsonlint.config.js` file should look like the example below. All shared rules will be used, but `license-type` will be turned off.

```json
{
"extends": "npm-package-json-lint-config-itgalaxy",
"rules": {
"license-type": "off"
}
}
```

## [Changelog](CHANGELOG.md)

## [License](LICENSE)
Loading

0 comments on commit bb989b6

Please sign in to comment.