Skip to content

Commit

Permalink
Add support for JIRA (port from pivotal-lint) (#1)
Browse files Browse the repository at this point in the history
* Remove everything

* Add support for JIRA

* Minify to reduce size

* remove unused filterArray method and add final build

* remove unused import

* rename getDetails to getTicketDetails to make it more specific

* Add the test

* Use the last match

* Labels without spaces

* Fix closing quote

* use uppercase keywords

* update readme to remove pivotal-lint references

* update the image url in readme

* fix tests

* skip the last test

Co-authored-by: Raj Anand <rajanand0202@gmail.com>
  • Loading branch information
rheaditi and rajanand02 authored Feb 5, 2020
1 parent 069308e commit 77705cb
Show file tree
Hide file tree
Showing 27 changed files with 2,321 additions and 2,216 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

58 changes: 0 additions & 58 deletions .eslintrc.json

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/checkin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "PR Checks"
on: [pull_request, push]

jobs:
check_pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: "npm ci"
run: npm ci

- name: "npm run build"
run: npm run build

- name: "npm run test"
run: npm run test

- name: "check for uncommitted changes"
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
run: |
git diff --exit-code --stat -- . ':!node_modules' \
|| (echo "##[error] found changed files after build. please 'npm run build'" \
"and check in all changes" \
&& exit 1)
23 changes: 0 additions & 23 deletions .github/workflows/test.yml

This file was deleted.

18 changes: 8 additions & 10 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Dependency directory
node_modules
__tests__/runner/*

# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs
Expand All @@ -9,6 +8,13 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
node_modules

# local file for testing
src/localTest.ts

# vs code custom settings
.vscode

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down Expand Up @@ -89,11 +95,3 @@ typings/

# DynamoDB Local files
.dynamodb/

# OS metadata
.DS_Store
Thumbs.db

# Ignore built ts files
__tests__/runner/*
lib/**/*
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

11 changes: 11 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
printWidth: 120,
semi: true,
singleQuote: true,
tabWidth: 2,
trailingComma: 'es5',
quoteProps: 'consistent',
jsxSingleQuote: true,
bracketSpacing: true,
endOfLine: 'lf',
};
11 changes: 0 additions & 11 deletions .prettierrc.json

This file was deleted.

Empty file modified LICENSE
100644 → 100755
Empty file.
Loading

0 comments on commit 77705cb

Please sign in to comment.