Skip to content

Commit

Permalink
first ci attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
teenageknight committed May 19, 2024
1 parent e543e50 commit 8b7e4f7
Show file tree
Hide file tree
Showing 6 changed files with 1,920 additions and 722 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI
on: [push]
jobs:
check-bats-version:
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
- name: Install Node modules
run: npm install
- name: Linting
run: echo 'TODO Add Linting'
# run: npm run lint
21 changes: 21 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js";

export default [
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReactConfig,
{
ignores: ["functions/lib/**", "build/**"],
},
{
rules: {
semi: "error",
"prefer-const": "error",
"@typescript-eslint/no-explicit-any": "warn",
},
},
];
Loading

0 comments on commit 8b7e4f7

Please sign in to comment.