Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade eslint #31

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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