Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Commit

Permalink
actually add in the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Oct 2, 2019
1 parent d8637ea commit dcf6789
Show file tree
Hide file tree
Showing 25 changed files with 2,341 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"plugins": ["prettier"],
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"prettier/prettier": [
"error"
],
}
};
16 changes: 16 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: eslint
on: [pull_request]

jobs:

build:
name: eslint
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@master

- name: eslint
run: |
npm install
npm run-script lint
177 changes: 177 additions & 0 deletions node_modules/eslint-plugin-prettier/CHANGELOG.md

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions node_modules/eslint-plugin-prettier/LICENSE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

140 changes: 140 additions & 0 deletions node_modules/eslint-plugin-prettier/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dcf6789

Please sign in to comment.