Files
spacedrive/packages/config/eslint/reactNative.js
Utku 262c31d39a [ENG-362, ENG-476, ENG-503] Next.js (#817)
* update landing packages & tailwind

* move images

* refactor to nextjs

* doc stuff

* rename markdown to mdx

* working docs

* Add math

* fix pnpm-lock

* Code highlighting

* fix types

* fix more stuff

* Notice component and removed slot

* delete editorconfig eslint rule

* pnpm-lock

* some fixes

* fixed types (pls)

* bump ui's typescript too

* commit next-env.d.ts

* fix doc links

* Use next/head instead of react-helmet & rehype-external-links

* fixes

* fix unsub from list

* add trim() to docs.excerpt

* trim doc title too

* fix titles

* replace <a> to Link

* hide .contentlayer & .next from vscode search
2023-05-21 13:11:03 +00:00

24 lines
519 B
JavaScript

module.exports = {
extends: [require.resolve('./base.js'), require.resolve('./tailwind.js')],
env: {
'react-native/react-native': true
},
plugins: ['react-native'],
ignorePatterns: ['android', 'ios', '.expo'],
rules: {
'no-restricted-imports': [
'error',
{
paths: [
{
name: 'react-native',
importNames: ['SafeAreaView'],
message: 'Import SafeAreaView from react-native-safe-area-context instead'
}
]
}
],
'tailwindcss/no-contradicting-classname': 'warn'
}
};