Skip to content

Commit

Permalink
chore: updated eslintrc & resolved eslint issues post master branch m…
Browse files Browse the repository at this point in the history
…erge
  • Loading branch information
BilalQamar95 committed Aug 17, 2022
1 parent 0b7e435 commit 3abdeda
Show file tree
Hide file tree
Showing 8 changed files with 2,904 additions and 3,407 deletions.
61 changes: 0 additions & 61 deletions .eslintrc

This file was deleted.

24 changes: 23 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
const path = require('path');

module.exports = {
extends: '@edx/eslint-config',
extends: [
'@edx/eslint-config',
'plugin:import/typescript',
],
parser: '@babel/eslint-parser',
parserOptions: {
requireConfigFile: true,
Expand All @@ -10,6 +13,16 @@ module.exports = {
},
},
rules: {
'import/extensions': [
'error',
'ignorePackages',
{
js: 'never',
jsx: 'never',
ts: 'never',
tsx: 'never',
},
],
'import/no-extraneous-dependencies': [
'error',
{
Expand Down Expand Up @@ -48,4 +61,13 @@ module.exports = {
globals: {
newrelic: false,
},
overrides: [
{
files: ['**/*.ts', '**/*.tsx'],
extends: 'airbnb-typescript',
parserOptions: {
project: './tsconfig.json',
},
},
],
};
Loading

0 comments on commit 3abdeda

Please sign in to comment.