mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
* Add basic Fastlane helper tests * Upgrade fastlane and enhance helper tests (#738) * simplify mobile deploy pipelines and make them manual. update readme * update fastlane dev readme * update tests and add helper script * cr feedback, update tests, revert circuits package.json sort change * tweaks * fix slack * cr feedback and fixes * add better cjs eslint support * save wip. add confirmation check script. update scripts * remove auto increment feature * migrate readme items over to DEV due to fastlane auto regen docs flow * use regular xcode * fix hermes compiler path * coderabbit feedback * reinstall when on local dev * fix upload * simplify * simplify confirmation feedback with tests * fix mobile deploys * cr feedback * test iOS building * fix trigger logic * cr feedback * updates * fix env var * fix order * re-enable upload to testflight for ios * updated notes
65 lines
1.6 KiB
JavaScript
65 lines
1.6 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: [
|
|
'@react-native',
|
|
'plugin:prettier/recommended',
|
|
'plugin:jest/recommended',
|
|
],
|
|
plugins: ['header', 'jest', 'prettier', 'simple-import-sort'],
|
|
ignorePatterns: [
|
|
'ios/',
|
|
'android/',
|
|
'deployments/',
|
|
'node_modules/',
|
|
'metro.config.cjs',
|
|
],
|
|
rules: {
|
|
// Import sorting rules
|
|
'simple-import-sort/imports': 'warn',
|
|
'simple-import-sort/exports': 'warn',
|
|
'header/header': [
|
|
2,
|
|
'line',
|
|
' SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11',
|
|
2,
|
|
],
|
|
|
|
// Add prettier rule to show prettier errors as ESLint errors
|
|
'prettier/prettier': [
|
|
'warn',
|
|
{
|
|
// Fix for TypeScript union types indentation
|
|
typescriptBracketSpacing: true,
|
|
typeAssertionStyle: 'as',
|
|
},
|
|
{ usePrettierrc: true },
|
|
],
|
|
|
|
// Preserve project-specific rule exemptions
|
|
'react-native/no-inline-styles': 'off',
|
|
'react-hooks/exhaustive-deps': 'off',
|
|
|
|
// Override any ESLint rules that conflict with the TypeScript union type formatting
|
|
'@typescript-eslint/indent': 'off',
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['*.cjs'],
|
|
env: {
|
|
node: true,
|
|
commonjs: true,
|
|
es6: true,
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
sourceType: 'script',
|
|
},
|
|
rules: {
|
|
'header/header': 'off',
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
'no-undef': 'off',
|
|
},
|
|
},
|
|
],
|
|
};
|