Skip to content

Commit

Permalink
7.0.7 (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
SrBrahma committed Apr 14, 2023
1 parent d5f346e commit 931bf20
Show file tree
Hide file tree
Showing 20 changed files with 21,732 additions and 24,695 deletions.
35 changes: 13 additions & 22 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,29 @@
require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
root: true,
env: {
es2021: true,
node: true,
'react-native/react-native': true // *2
'react-native/react-native': true, // *1
},
extends: [
'eslint-config-gev/js' // https://github.com/SrBrahma/eslint-config-gev
],
parser: '@typescript-eslint/parser',
overrides: [ //* 3
extends: ['eslint-config-gev/react-native-js'],
overrides: [
{
files: ['*.ts', '*.tsx'],
extends: [
'plugin:@typescript-eslint/recommended-requiring-type-checking', // *1
'eslint-config-gev/react-native' // https://github.com/SrBrahma/eslint-config-gev
],
extends: ['eslint-config-gev/react-native'],
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname, // *1
project: ['./tsconfig.lint.json'], // *1
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
ecmaVersion: 12,
sourceType: 'module',
ecmaFeatures: { // *2
jsx: true
}
ecmaFeatures: {
jsx: true, // *1
},
},
}
},
],
ignorePatterns: ['**/lib/**/*', '**/dist/**/*', '**/node_modules/**/*', '.eslintrc.js'],
rules: {
}
rules: {},
};

// [*1] - https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/TYPED_LINTING.md#getting-started---linting-with-type-information
// [*2] - https://github.com/Intellicode/eslint-plugin-react-native#configuration
// [*3] - https://stackoverflow.com/a/64488474
166 changes: 97 additions & 69 deletions CHANGELOG.md

Large diffs are not rendered by default.

0 comments on commit 931bf20

Please sign in to comment.