Skip to content

Commit

Permalink
upgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofstetter Benjamin (extern) committed Nov 29, 2024
1 parent 6b810d6 commit ae99fa9
Show file tree
Hide file tree
Showing 9 changed files with 459 additions and 454 deletions.
14 changes: 0 additions & 14 deletions .eslintrc.cjs

This file was deleted.

20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# rdf-sketch
# Zazuko RDF Sketch

This is a simple tool to Visualize RDF and provides the ability to Search and Navigate through the graph.


## Project setup

Expand All @@ -9,7 +12,7 @@ npm install
### Compiles and hot-reloads for development

```sh
npm run serve
npm run dev
```

### Compiles and minifies for production
Expand All @@ -24,6 +27,15 @@ npm run build
npm run lint
```

### Customize configuration
### The project is based on the following technologies:

* [Vue.js](https://vuejs.org)
* [Vue Flow](https://vueflow.dev)
* [rdfjs-elements](https://github.com/zazuko/rdfjs-elements)



## VSCode Extension

Will be part of this Repository soon.

See [Configuration Reference](https://cli.vuejs.org/config/).
21 changes: 21 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import pluginVue from 'eslint-plugin-vue';
import vueTsEslintConfig from '@vue/eslint-config-typescript';

export default [
{
name: 'app/files-to-lint',
files: ['**/*.{ts,mts,tsx,vue}'],
},
{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**', '**/src-vscode/**'],
},
...pluginVue.configs['flat/essential'],
...vueTsEslintConfig(),
{
rules: {
"@typescript-eslint/no-explicit-any": 'warn',
"@typescript-eslint/no-empty-object-type": 'warn',
}
},
];
Loading

0 comments on commit ae99fa9

Please sign in to comment.