mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 04:12:23 +01:00
20fab5d5a2
* Add ES Lint * Update lint.yml * move lint file * Add eslint to package * use yarn * Run ci/test only once * Fix eslint errors * Fix rest siblings * precommit hooks * Lint typo * ESLint per file * Eslint
24 lines
392 B
YAML
24 lines
392 B
YAML
name: Lint
|
|
|
|
on:
|
|
- pull_request
|
|
|
|
jobs:
|
|
build:
|
|
name: ESLint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Check out the repository
|
|
- uses: actions/checkout@v1
|
|
|
|
# Install Node.js
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12
|
|
|
|
# Install your dependencies
|
|
- run: yarn install
|
|
|
|
# Run ESLint
|
|
- uses: eslint/github-action@v0
|