17 lines
445 B
JavaScript
17 lines
445 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/*"],
|
|
},
|
|
{
|
|
// These scripts run directly in the Android WebView, outside Metro.
|
|
files: ["src/html/*.js"],
|
|
languageOptions: { globals: { DiceBoxModule: "readonly" } },
|
|
rules: { "no-var": "off" },
|
|
}
|
|
]);
|