Skip to content

Commit

Permalink
Updated linting tools
Browse files Browse the repository at this point in the history
  • Loading branch information
juliolmuller committed May 7, 2021
1 parent 8e714b3 commit 05f558d
Show file tree
Hide file tree
Showing 6 changed files with 4,157 additions and 2,428 deletions.
5 changes: 0 additions & 5 deletions .babelrc.js

This file was deleted.

27 changes: 6 additions & 21 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,38 +1,23 @@
/* eslint-env node */
module.exports = {
root: true,
extends: [
'react-app',
'plugin:jest/recommended',
'plugin:jsx-control-statements/recommended',
'@lacussoft',
'plugin:@typescript-eslint/recommended',
'lacussoft',
'lacussoft/react',
'lacussoft/typescript',
],
ignorePatterns: [
'build/',
'dist/',
'!.babelrc*',
],
plugins: [
'@typescript-eslint',
'jest',
'jsx-control-statements',
'react',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2020,
sourceType: 'module',
},
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'no-console': 'off',
'no-use-before-define': 'off',
'react/jsx-indent-props': ['error', 2],
'react/jsx-closing-bracket-location': 'error',
'react/jsx-no-undef': [2, { allowGlobals: true }],
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'warn',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'warn',
},
}
4 changes: 0 additions & 4 deletions config-overrides.js

This file was deleted.

Loading

0 comments on commit 05f558d

Please sign in to comment.