Skip to content

Commit

Permalink
fix: webapp eslint config redundant root import
Browse files Browse the repository at this point in the history
  • Loading branch information
emil-litwiniec committed May 24, 2024
1 parent eac478e commit 65a88ad
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 32 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const rootConfig = require('<%= offsetFromRoot %>eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [...rootConfig, ...webappCoreConfig];
module.exports = [...webappCoreConfig];
3 changes: 0 additions & 3 deletions packages/webapp-libs/webapp-api-client/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const rootConfig = require('../../../eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [
...rootConfig,
...webappCoreConfig,
{
ignores: ['**/src/graphql/__generated'],
Expand Down
4 changes: 1 addition & 3 deletions packages/webapp-libs/webapp-contentful/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const rootConfig = require('../../../eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [...rootConfig, ...webappCoreConfig];
module.exports = [...webappCoreConfig];
4 changes: 1 addition & 3 deletions packages/webapp-libs/webapp-crud-demo/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const rootConfig = require('../../../eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [...rootConfig, ...webappCoreConfig];
module.exports = [...webappCoreConfig];
4 changes: 1 addition & 3 deletions packages/webapp-libs/webapp-documents/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const rootConfig = require('../../../eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [...rootConfig, ...webappCoreConfig];
module.exports = [...webappCoreConfig];
2 changes: 0 additions & 2 deletions packages/webapp-libs/webapp-emails/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const rootConfig = require('../../../eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [...rootConfig, ...webappCoreConfig];
4 changes: 1 addition & 3 deletions packages/webapp-libs/webapp-finances/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const rootConfig = require('../../../eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [...rootConfig, ...webappCoreConfig];
module.exports = [ ...webappCoreConfig];
4 changes: 1 addition & 3 deletions packages/webapp-libs/webapp-generative-ai/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const rootConfig = require('../../../eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [...rootConfig, ...webappCoreConfig];
module.exports = [...webappCoreConfig];
4 changes: 1 addition & 3 deletions packages/webapp-libs/webapp-notifications/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const rootConfig = require('../../../eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [...rootConfig, ...webappCoreConfig];
module.exports = [...webappCoreConfig];
4 changes: 1 addition & 3 deletions packages/webapp-libs/webapp-tenants/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const rootConfig = require('../../../eslint.config.js');

const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

module.exports = [...rootConfig, ...webappCoreConfig];
module.exports = [...webappCoreConfig];
3 changes: 0 additions & 3 deletions packages/webapp/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const webappCoreConfig = require('@sb/webapp-core/eslint.config.js');

const rootConfig = require('../../eslint.config.js');

module.exports = [
...rootConfig,
...webappCoreConfig,
{
ignores: [
Expand Down

0 comments on commit 65a88ad

Please sign in to comment.