first commit
This commit is contained in:
32
eslint.config.mjs
Normal file
32
eslint.config.mjs
Normal file
@@ -0,0 +1,32 @@
|
||||
import eslintConfigWpj from '@kupshop/eslint-config-wpj';
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: [
|
||||
'**/build',
|
||||
'**/*.config.ts',
|
||||
'vendor',
|
||||
'**/*.d.ts',
|
||||
'**/wpj.blocekRuntime.ts',
|
||||
'**/WpjComponentLoader.ts',
|
||||
'**/WpjConfig.ts',
|
||||
'**/v8feed.transform.js',
|
||||
'**/vim_test.js',
|
||||
'**/wpj.*.ts',
|
||||
]
|
||||
},
|
||||
...eslintConfigWpj,
|
||||
{
|
||||
rules: {
|
||||
"@typescript-eslint/no-explicit-any": "off" // TODO: Remove and fix typing
|
||||
}
|
||||
},
|
||||
{
|
||||
files: [
|
||||
'**/views/**/*.ts',
|
||||
],
|
||||
rules: {
|
||||
'import/no-default-export': ['off'],
|
||||
}
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user