mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-04 15:43:16 +02:00
chore: fix lint setup
This commit is contained in:
parent
282cf0d0a7
commit
5ff2b0d5cd
|
@ -1,2 +1,3 @@
|
|||
dist/
|
||||
/examples/react-native/**/*.js
|
||||
/iconoir.com/out/
|
||||
|
|
|
@ -41,7 +41,6 @@ module.exports = {
|
|||
next: ['export', 'import'],
|
||||
},
|
||||
],
|
||||
|
||||
'prettier/prettier': ['error'],
|
||||
},
|
||||
};
|
||||
|
|
|
@ -29,8 +29,8 @@ export function NavigationItem({
|
|||
activeMatch
|
||||
? router.asPath.startsWith(activeMatch)
|
||||
: href.slice(1)
|
||||
? router.asPath.slice(1).startsWith(href.slice(1))
|
||||
: router.asPath === href
|
||||
? router.asPath.slice(1).startsWith(href.slice(1))
|
||||
: router.asPath === href
|
||||
}
|
||||
>
|
||||
{children}
|
||||
|
|
|
@ -73,13 +73,13 @@ function Thumb({ state, trackRef, index }: ThumbProps) {
|
|||
backgroundColor: isFocusVisible
|
||||
? 'var(--accent)'
|
||||
: state.isThumbDragging(index)
|
||||
? 'var(--g6)'
|
||||
: 'var(--white)',
|
||||
? 'var(--g6)'
|
||||
: 'var(--white)',
|
||||
scale: isFocusVisible
|
||||
? '1.0'
|
||||
: state.isThumbDragging(index)
|
||||
? '1.3'
|
||||
: '1.0',
|
||||
? '1.3'
|
||||
: '1.0',
|
||||
}}
|
||||
>
|
||||
<VisuallyHidden>
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
"@types/react-window": "^1.8.8",
|
||||
"animejs": "^3.2.1",
|
||||
"csvtojson": "^2.0.10",
|
||||
"eslint": "^8.54.0",
|
||||
"eslint-config-next": "^14.0.3",
|
||||
"iconoir-react": "workspace:*",
|
||||
"lodash": "^4.17.21",
|
||||
|
|
|
@ -178,9 +178,6 @@ importers:
|
|||
csvtojson:
|
||||
specifier: ^2.0.10
|
||||
version: 2.0.10
|
||||
eslint:
|
||||
specifier: ^8.54.0
|
||||
version: 8.54.0
|
||||
eslint-config-next:
|
||||
specifier: ^14.0.3
|
||||
version: 14.0.3(eslint@8.54.0)(typescript@5.3.2)
|
||||
|
@ -195,7 +192,7 @@ importers:
|
|||
version: 2.29.4
|
||||
next:
|
||||
specifier: ^14.0.3
|
||||
version: 14.0.3(@babel/core@7.23.3)(react-dom@18.2.0)(react@18.2.0)
|
||||
version: 14.0.3(react-dom@18.2.0)(react@18.2.0)
|
||||
next-mdx-remote:
|
||||
specifier: ^4.4.1
|
||||
version: 4.4.1(react-dom@18.2.0)(react@18.2.0)
|
||||
|
@ -7848,7 +7845,7 @@ packages:
|
|||
- babel-plugin-macros
|
||||
dev: false
|
||||
|
||||
/next@14.0.3(@babel/core@7.23.3)(react-dom@18.2.0)(react@18.2.0):
|
||||
/next@14.0.3(react-dom@18.2.0)(react@18.2.0):
|
||||
resolution: {integrity: sha512-AbYdRNfImBr3XGtvnwOxq8ekVCwbFTv/UJoLwmaX89nk9i051AEY4/HAWzU0YpaTDw8IofUpmuIlvzWF13jxIw==}
|
||||
engines: {node: '>=18.17.0'}
|
||||
hasBin: true
|
||||
|
@ -7870,7 +7867,7 @@ packages:
|
|||
postcss: 8.4.31
|
||||
react: 18.2.0
|
||||
react-dom: 18.2.0(react@18.2.0)
|
||||
styled-jsx: 5.1.1(@babel/core@7.23.3)(react@18.2.0)
|
||||
styled-jsx: 5.1.1(react@18.2.0)
|
||||
watchpack: 2.4.0
|
||||
optionalDependencies:
|
||||
'@next/swc-darwin-arm64': 14.0.3
|
||||
|
@ -9239,6 +9236,24 @@ packages:
|
|||
'@babel/core': 7.23.3
|
||||
client-only: 0.0.1
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
|
||||
/styled-jsx@5.1.1(react@18.2.0):
|
||||
resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}
|
||||
engines: {node: '>= 12.0.0'}
|
||||
peerDependencies:
|
||||
'@babel/core': '*'
|
||||
babel-plugin-macros: '*'
|
||||
react: '>= 16.8.0 || 17.x.x || ^18.0.0-0'
|
||||
peerDependenciesMeta:
|
||||
'@babel/core':
|
||||
optional: true
|
||||
babel-plugin-macros:
|
||||
optional: true
|
||||
dependencies:
|
||||
client-only: 0.0.1
|
||||
react: 18.2.0
|
||||
dev: true
|
||||
|
||||
/stylis@4.3.0:
|
||||
resolution: {integrity: sha512-E87pIogpwUsUwXw7dNyU4QDjdgVMy52m+XEOPEKUn161cCzWjjhPSQhByfd1CcNvrOLnXQ6OnnZDwnJrz/Z4YQ==}
|
||||
|
|
Loading…
Reference in a new issue