Skip to content

Commit

Permalink
Shared prettier config (ghostery#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmod authored Aug 11, 2022
1 parent ea9a42d commit 77d3975
Show file tree
Hide file tree
Showing 9 changed files with 2,034 additions and 43 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test-libs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test libs

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test-libs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: libs
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: ./libs/package-lock.json
- run: npm ci
- run: npm run lint
2 changes: 0 additions & 2 deletions extension-manifest-v3/.prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions extension-manifest-v3/.prettierrc

This file was deleted.

16 changes: 16 additions & 0 deletions libs/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"env": {
"es2020": true,
"browser": true,
"serviceworker": true,
"webextensions": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"sourceType": "module"
}
}
Loading

0 comments on commit 77d3975

Please sign in to comment.