mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
chore(eslint): remove eslint-plugin-prettier and update configurations
This commit is contained in:
@@ -5,7 +5,6 @@ module.exports = [
|
||||
...nx.configs['flat/base'],
|
||||
...nx.configs['flat/typescript'],
|
||||
...nx.configs['flat/javascript'],
|
||||
eslintConfigPrettier,
|
||||
{
|
||||
ignores: ['**/dist'],
|
||||
},
|
||||
@@ -29,13 +28,6 @@ module.exports = [
|
||||
// },
|
||||
{
|
||||
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
|
||||
// Override or add rules here
|
||||
rules: {
|
||||
'prettier/prettier': 'error',
|
||||
},
|
||||
plugins: {
|
||||
prettier: require('eslint-plugin-prettier'),
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['**/*.json'],
|
||||
@@ -51,4 +43,5 @@ module.exports = [
|
||||
parser: require('jsonc-eslint-parser'),
|
||||
},
|
||||
},
|
||||
eslintConfigPrettier,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user