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 45226c0
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1,818 deletions.
32 changes: 16 additions & 16 deletions frontend/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import jsdoc from 'eslint-plugin-jsdoc';
import unicorn from 'eslint-plugin-unicorn';
import fileProgress from 'eslint-plugin-file-progress';
// import fileProgress from 'eslint-plugin-file-progress';
import js from '@eslint/js';
import globals from 'globals';
import vueScopedCSS from 'eslint-plugin-vue-scoped-css';
Expand All @@ -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
6 changes: 0 additions & 6 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,10 @@
"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",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-sonarjs": "0.25.1",
"eslint-plugin-unicorn": "52.0.0",
"eslint-plugin-vue": "9.25.0",
"eslint-plugin-vue-scoped-css": "2.8.0",
Expand All @@ -83,7 +78,6 @@
"rollup-plugin-visualizer": "5.12.0",
"sass": "1.75.0",
"typescript": "5.4.5",
"typescript-eslint": "7.7.0",
"typescript-eslint-parser-for-extra-files": "0.6.0",
"unocss": "0.59.2",
"unplugin-icons": "0.18.5",
Expand Down
Loading

0 comments on commit 45226c0

Please sign in to comment.