Maintainers
Pricing
Enterprise
More
More
Documentation
Try Live
Rankings
Install
Blog
Docs7
Ask
New
Add Docs
Snapdrag
https://github.com/zheksoon/snapdrag
Admin
A simple, lightweight, and performant drag and drop library for React and vanilla JS
Tokens:
627
Snippets:
1
Trust Score:
7.6
License:
MIT
Update:
1 year ago
Context
Chat
Benchmark
7
Latest
Show doc for...
Code
Info
Show Results
Tokens:
Raw
Copy
Link
Tokens:
Raw
Copy
Link
### Configure ESLint for Type-Aware Linting in React/TypeScript Source: https://github.com/zheksoon/snapdrag/blob/main/packages/examples/README.md This snippet demonstrates how to configure ESLint for a React and TypeScript project using Vite. It focuses on enabling type-aware linting rules by updating `parserOptions` and extending specific ESLint plugins for better code quality. ```javascript export default { // other rules... parserOptions: { ecmaVersion: 'latest', sourceType: 'module', project: ['./tsconfig.json', './tsconfig.node.json'], tsconfigRootDir: __dirname, }, } ```