mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-09 12:39:50 -04:00
33 lines
834 B
JavaScript
33 lines
834 B
JavaScript
// ESLint v9+ config for NuminarCodingProject
|
|
export default [
|
|
{
|
|
files: ["src/**/*.{ts,tsx,js,jsx}"],
|
|
ignores: ["**/node_modules/**", "**/dist/**", "**/build/**"],
|
|
languageOptions: {
|
|
ecmaVersion: 2021,
|
|
sourceType: "module",
|
|
globals: {
|
|
window: "readonly",
|
|
document: "readonly",
|
|
process: "readonly",
|
|
},
|
|
},
|
|
plugins: {
|
|
// Add plugin imports here if needed
|
|
},
|
|
rules: {
|
|
// Example recommended rules
|
|
"no-unused-vars": "warn",
|
|
"no-console": "warn",
|
|
eqeqeq: "error",
|
|
curly: "error",
|
|
semi: ["error", "always"],
|
|
// TypeScript specific rules (if using typescript-eslint)
|
|
// "@typescript-eslint/no-unused-vars": "warn",
|
|
},
|
|
settings: {
|
|
// Add React or import resolver settings if needed
|
|
},
|
|
},
|
|
];
|