Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: CI

on:
push:

jobs:
ci:
runs-on: ubuntu-latest

steps:
- name: CI action
uses: szhsin/ci-action@v1
8 changes: 0 additions & 8 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@ import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import prettier from 'eslint-config-prettier';
import vitest from '@vitest/eslint-plugin';
import react from 'eslint-plugin-react';
import reactHooks from 'eslint-plugin-react-hooks';
import reactHooksAddons from 'eslint-plugin-react-hooks-addons';

export default tseslint.config(
eslint.configs.recommended,
tseslint.configs.recommendedTypeChecked,
vitest.configs.recommended,
react.configs.flat.recommended,
react.configs.flat['jsx-runtime'],
reactHooksAddons.configs.recommended,
prettier,
{
Expand Down Expand Up @@ -56,11 +53,6 @@ export default tseslint.config(
plugins: {
'react-hooks': reactHooks
},
settings: {
react: {
version: 'detect'
}
},
rules: {
'no-console': ['error', { allow: ['debug', 'warn', 'error'] }],
'react/prop-types': 0,
Expand Down
Loading