a2293e858d
* fix: Fix TypeScript relative imports * Decouple `example` from tsconfig * fix ESLint config * add lint-ci script * move example running to workflow * test ts * test eslint * test ts * fix ESLint formatter * Revert "fix ESLint formatter" This reverts commit 21aca0dcdb54d4ce98b33d2b4f1decc18bc82e85. * Revert "test ts" This reverts commit becc346ad3d097b7d3570ebc8b5bf80390aadf87. * Revert "test eslint" This reverts commit 9c9f0b81bf3aa57188f550a34b2a8151e364f3b0. * Revert "test ts" This reverts commit 3cbe7200608910087b43e0d9cdae0917b0b4215e.
17 lines
479 B
JavaScript
17 lines
479 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: ['./tsconfig.json'],
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
},
|
|
ignorePatterns: ['babel.config.js', 'metro.config.js', '.eslintrc.js', 'index.js'],
|
|
plugins: ['@typescript-eslint'],
|
|
extends: ['plugin:@typescript-eslint/recommended', '@react-native-community', '../.eslintrc.js'],
|
|
};
|