mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-12 05:10:52 +02:00
20 lines
485 B
JavaScript
20 lines
485 B
JavaScript
// https://docs.expo.dev/guides/using-eslint/
|
|
const { defineConfig } = require('eslint/config');
|
|
const expoConfig = require("eslint-config-expo/flat");
|
|
|
|
module.exports = defineConfig([
|
|
expoConfig,
|
|
{
|
|
ignores: ["dist/*"],
|
|
rules: {
|
|
"no-restricted-syntax": [
|
|
"error",
|
|
{
|
|
selector: "JSXAttribute[name.name='android_ripple']",
|
|
message: "Use AppPressable feedback instead of the Android radial ripple.",
|
|
},
|
|
],
|
|
},
|
|
}
|
|
]);
|