Files
colorline98/.eslintrc.cjs
aevgarik 463d09bbc2 feat: initialize ColorLine98 project with Vue 3 + Vite + TypeScript
- Scaffold Vue 3 + Vite + TypeScript project
- Add ESLint + Prettier configuration
- Create project structure: src/game/, src/components/, src/assets/
- Implement core game modules: Board, PathFinder (BFS), LineChecker
- Add README with project description and setup instructions

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-22 18:07:30 +03:00

31 lines
663 B
JavaScript

/**
* @file ESLint configuration for ColorLine98
* @author aevgarik@gmail.com
* @date 2026-03-22
*/
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
],
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 'latest',
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint'],
rules: {
'vue/multi-word-component-names': 'off',
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
},
}