mirror of
https://github.com/standardnotes/app.git
synced 2026-01-11 19:56:41 +00:00
28 lines
747 B
JavaScript
28 lines
747 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ['@react-native-community', 'prettier', '../../node_modules/@standardnotes/config/src/.eslintrc'],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
|
ignorePatterns: ['.eslintrc.js'],
|
|
overrides: [
|
|
{
|
|
files: ['*.ts', '*.tsx'],
|
|
rules: {
|
|
'@typescript-eslint/no-shadow': ['error'],
|
|
'no-shadow': 'off',
|
|
'no-undef': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'no-invalid-this': 'warn',
|
|
'no-console': 'warn',
|
|
eqeqeq: ['warn', 'smart'],
|
|
'no-void': 'off',
|
|
},
|
|
},
|
|
],
|
|
rules: {
|
|
'prettier/prettier': 'warn',
|
|
},
|
|
}
|