Skip to content

Commit

Permalink
Merge pull request #33 from haryle/15-set-up-issue-templates-for-cis
Browse files Browse the repository at this point in the history
15 set up issue templates for cis
  • Loading branch information
harryle95 authored May 12, 2024
2 parents fcbd3c1 + 1975602 commit 7cb2d11
Show file tree
Hide file tree
Showing 33 changed files with 2,355 additions and 585 deletions.
17 changes: 0 additions & 17 deletions .eslintrc.cjs

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
cache: "npm"
- name: install dependencies
run: npm ci
- name: run linting
run: npm run lint
- name: run formating
run: npm run format
- name: run unit tests
run: npm test
- name: "Report Coverage"
Expand Down
29 changes: 29 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"tabWidth": 2,
"useTabs": false,
"trailingComma": "all",
"bracketSameLine": false,
"arrowParens": "avoid",
"overrides": [
{
"files": ["*.mjs", "*.cjs", "*.js"],
"options": {
"parser": "babel"
}
},

{
"files": ["*.mts", "*.cts", "*.ts"],
"options": {
"parser": "typescript"
}
},

{
"files": ["*.json", "*.jsonc", "*.json5"],
"options": {
"parser": "json"
}
}
]
}
2 changes: 1 addition & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Preview } from "@storybook/react";
import "../src/index.css";
import "@ailiyah-ui/utils/src/tailwind.css"
import "@ailiyah-ui/utils/src/tailwind.css";

const preview: Preview = {
parameters: {
Expand Down
19 changes: 19 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";

export default [
{
languageOptions: {
globals: globals.browser,
},
},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
"@typescript-eslint/no-explicit-any": ["off"],
"react/prop-types": ["off"],
},
},
];
Loading

0 comments on commit 7cb2d11

Please sign in to comment.