Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Daydreamer-riri committed Apr 2, 2024
1 parent 62e3cc8 commit 1a58827
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@ jobs:
- name: Install
run: nci

- name: Build
run: nr build

- name: Typecheck
run: nr typecheck
7 changes: 0 additions & 7 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
// @ts-check
import ririd from '@ririd/eslint-config'

export default ririd(
{
ignores: [
// eslint ignore globs here
],
},
{
rules: {
// overrides
},
},
)
1 change: 0 additions & 1 deletion playground/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export function App() {
<div>
<Transition state={show}>
{({ status, shouldMount }) => {
console.log('🚀 ~ App ~ shouldMount:', shouldMount)
return shouldMount
? (
<div
Expand Down
8 changes: 4 additions & 4 deletions src/helpers/insertArray.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export function insertArray<Item>(
array: Array<Item>,
asIndex: number,
item: Item
item: Item,
) {
const newArr = [...array];
newArr.splice(asIndex, 0, item);
return newArr;
const newArr = [...array]
newArr.splice(asIndex, 0, item)
return newArr
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"resolveJsonModule": true,
"strict": true,
"strictNullChecks": true,
"noEmit": true,
"esModuleInterop": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"skipLibCheck": true
},
"exclude": ["node_modules", "dist"]
}

0 comments on commit 1a58827

Please sign in to comment.