Skip to content

Commit

Permalink
style: eslint -, prettier +
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Oct 27, 2021
1 parent d3109a2 commit 312b429
Show file tree
Hide file tree
Showing 44 changed files with 4,193 additions and 3,164 deletions.
10 changes: 0 additions & 10 deletions .eslintrc

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,6 @@ on:
- cron: 0 10 * * 1-5

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 12
- name: Store node version variable
id: node
run: |
echo "::set-output name=version::$(node -v)"
- name: Cache node_modules
uses: actions/cache@v2
id: node_modules
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package.json') }}-${{ steps.node.outputs.version }}
- name: Install dependencies
run: npx panva/npm-install-retry
if: ${{ steps.node_modules.outputs.cache-hit != 'true' }}
- run: npm run lint

test:
name: Node Tests + Coverage
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "all",
"singleQuote": true,
"printWidth": 100,
"semi": true
}
Loading

0 comments on commit 312b429

Please sign in to comment.