Skip to content

Commit

Permalink
chore: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
macklinu committed May 23, 2017
0 parents commit e4df88e
Show file tree
Hide file tree
Showing 10 changed files with 3,953 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

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

[*.md]
trim_trailing_whitespace = false
72 changes: 72 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@

# Created by https://www.gitignore.io/api/node,visualstudiocode

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# 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

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

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

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env


### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# End of https://www.gitignore.io/api/node,visualstudiocode
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '7'
- '6'
- '4'
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# danger-plugin-tslint

TODO
1 change: 1 addition & 0 deletions index.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test("todo")
3 changes: 3 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function tslint() {
// TODO
}
65 changes: 65 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"name": "danger-plugin-tslint",
"version": "0.0.0-development",
"description": "Danger plugin for TSLint",
"main": "dist/index.js",
"scripts": {
"precommit": "lint-staged",
"prepush": "npm run test",
"commitmsg": "validate-commit-msg",
"lint": "tslint *.ts",
"test": "jest",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "https://github.com/macklinu/danger-plugin-tslint.git"
},
"keywords": [
"danger",
"danger-plugin",
"tslint"
],
"author": "Macklin Underdown <macklinu@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/macklinu/danger-plugin-tslint/issues"
},
"homepage": "https://github.com/macklinu/danger-plugin-tslint#readme",
"devDependencies": {
"@types/jest": "^19.2.3",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"danger": "^0.19.0",
"husky": "^0.13.3",
"jest": "^20.0.3",
"lint-staged": "^3.4.2",
"semantic-release": "^6.3.6",
"ts-jest": "^20.0.4",
"tslint": "^5.0.0",
"typescript": "^2.3.3",
"validate-commit-msg": "^2.12.1"
},
"jest": {
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.ts$",
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleFileExtensions": [
"ts",

"js"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.ts": [
"tslint --fix",
"git add"
]
}
}
9 changes: 9 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"noImplicitAny": false,
"strict": true,
"sourceMap": false
}
}
5 changes: 5 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"tslint:recommended"
]
}
Loading

0 comments on commit e4df88e

Please sign in to comment.