Skip to content

Commit

Permalink
Add eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoporto committed Jan 6, 2025
1 parent f494b6b commit 7f9c515
Show file tree
Hide file tree
Showing 37 changed files with 2,386 additions and 2,587 deletions.
254 changes: 0 additions & 254 deletions .eslintrc

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Checks

on:
workflow_call:
push:
branches: [main]
pull_request:
types: [synchronize, opened, reopened, ready_for_review, converted_to_draft]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
checks:
name: Run Checks
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"

- name: Install Dependencies
run: npm ci --ignore-scripts

# - name: Check Docs
# run: npm run check-docs

# - name: Check Formatting
# run: npm run formatting:check

# - name: Check Typing
# run: pnpm typecheck

# - name: Lint Styles
# run: pnpm lint:styles

- name: Lint
run: npm run lint

# - name: Lint styles
# run: npm run lint:styles
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ bower_components/
## Swill boilerplate
#################

dist/
build/
app/templates/src/stylesheets/stylus/helpers/_functions.styl
app/templates/src/stylesheets/stylus/helpers/_mixins.styl
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v23.4.0
18 changes: 7 additions & 11 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"build": "build/",

"handlebars": {
"src": "handlebars/",
"partials": {
"src": "includes/"
}
"src": "handlebars/",
"partials": {
"src": "includes/"
}
},

"images": {
Expand All @@ -35,9 +35,7 @@
},

"clean": {
"ignore": [
"!dist/img/{copyright,logos}{,**/*{,**/*}}"
]
"ignore": ["!dist/img/{copyright,logos}{,**/*{,**/*}}"]
}
},

Expand All @@ -47,8 +45,6 @@

"lintCSS": false,

"lintJS": true,

"inlineSVG": true,

"handlebars": true,
Expand All @@ -72,8 +68,8 @@
"baseDir": ["dist/", "./"]
},
"routes": {
"/bower_components": "bower_components",
"/node_modules": "node_modules"
"/bower_components": "bower_components",
"/node_modules": "node_modules"
}
},

Expand Down
Binary file removed dist/apple-touch-icon.png
Binary file not shown.
38 changes: 0 additions & 38 deletions dist/css/accessibility-buttons.css

This file was deleted.

7 changes: 0 additions & 7 deletions dist/css/accessibility-buttons.min.css

This file was deleted.

Loading

0 comments on commit 7f9c515

Please sign in to comment.