Skip to content

Commit

Permalink
chore(eslint): temporarily remove outdated eslint plugins
Browse files Browse the repository at this point in the history
This will help us get a suitable lockfile first. Import has also been troublesome for some time and maybe it gets removed altogether at some point

Signed-off-by: GitHub <[email protected]>
  • Loading branch information
ferferga authored Apr 15, 2024
1 parent fe315a5 commit cc4eb0d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1,308 deletions.
30 changes: 15 additions & 15 deletions frontend/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import jsonc from 'eslint-plugin-jsonc';

const vueAndTsFiles = ['*.vue', '**/*.vue', '*.ts', '**/*.ts'];
const vueFiles = ['*.vue', '**/*.vue'];
const CI_environment = process.env.CI ? 0 : 1;
// const CI_environment = process.env.CI ? 0 : 1;

/**
* TODO: Can be removed once all ESLint plugins are updated to support Flat config
Expand Down Expand Up @@ -41,20 +41,20 @@ export default tseslint.config(
blockSpacing: true
}),
/** File progress plugin */
{
name: 'Progress reporting',
settings: {
progress: {
successMessage: 'Linting done!'
}
},
plugins: {
'file-progress': fileProgress
},
rules: {
'file-progress/activate': CI_environment
}
},
// {
// name: 'Progress reporting',
// settings: {
// progress: {
// successMessage: 'Linting done!'
// }
// },
// plugins: {
// 'file-progress': fileProgress
// },
// rules: {
// 'file-progress/activate': CI_environment
// }
// },
{
name: 'Common settings',
linterOptions: {
Expand Down
3 changes: 0 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@
"browserslist": "4.23.0",
"dpdm": "3.14.0",
"eslint": "9.0.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-css": "0.9.2",
"eslint-plugin-file-progress": "1.3.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "48.2.3",
"eslint-plugin-jsonc": "2.15.1",
"eslint-plugin-optimize-regex": "1.2.1",
Expand Down
Loading

0 comments on commit cc4eb0d

Please sign in to comment.