Skip to content

Commit

Permalink
Merge branch 'dev' into bal3271
Browse files Browse the repository at this point in the history
  • Loading branch information
r4zendev authored Dec 31, 2024
2 parents 047d37b + 13579a4 commit 5facf20
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 16 deletions.
11 changes: 11 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
node_modules
dist

# Eslint config file itself
.eslintrc.cjs

# Config files
rollup.config.js
babel.config.js

# Config pkg
packages/config
7 changes: 4 additions & 3 deletions apps/backoffice-v2/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ module.exports = {
callees: ['ctw'],
},
},
parserOptions: {
project: './tsconfig.eslint.json',
},
rules: {
'tailwindcss/no-custom-classname': 'off',
'tailwindcss/classnames-order': 'off',
},
parserOptions: {
tsconfigRootDir: __dirname,
project: 'tsconfig.eslint.json',
},
};
3 changes: 2 additions & 1 deletion apps/kyb-app/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
module.exports = {
extends: ['@ballerine/eslint-config-react'],
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: __dirname,
project: 'tsconfig.eslint.json',
},
};
3 changes: 2 additions & 1 deletion apps/workflows-dashboard/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
module.exports = {
extends: ['@ballerine/eslint-config-react'],
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: __dirname,
project: 'tsconfig.eslint.json',
},
};
3 changes: 2 additions & 1 deletion packages/blocks/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
},
extends: ['@ballerine/eslint-config'],
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: __dirname,
project: 'tsconfig.eslint.json',
},
};
3 changes: 2 additions & 1 deletion packages/common/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
module.exports = {
extends: ['@ballerine/eslint-config'],
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: __dirname,
project: 'tsconfig.eslint.json',
},
};
3 changes: 2 additions & 1 deletion packages/ui/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
'tailwindcss/classnames-order': 'off',
},
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: __dirname,
project: 'tsconfig.eslint.json',
},
};
7 changes: 4 additions & 3 deletions packages/workflow-core/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ['@ballerine/eslint-config'],
parserOptions: {
project: './tsconfig.eslint.json',
},
rules: {
'no-console': 'error',
},
parserOptions: {
tsconfigRootDir: __dirname,
project: 'tsconfig.eslint.json',
},
};
6 changes: 3 additions & 3 deletions sdks/web-ui-sdk/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ module.exports = {

parserOptions: {
...parserOptions,
// These types of configs should be relative to the package's root

tsconfigRootDir: __dirname,
project: ['./tsconfig.eslint.json'],
project: 'tsconfig.eslint.json',
},

settings: {
...settings,

'svelte3/typescript': require('typescript'),
},
};
5 changes: 3 additions & 2 deletions sdks/workflow-browser-sdk/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ['@ballerine/eslint-config'],
env: {
browser: true,
},
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: __dirname,
project: 'tsconfig.eslint.json',
},
extends: ['@ballerine/eslint-config'],
};

0 comments on commit 5facf20

Please sign in to comment.