Skip to content

Commit

Permalink
work on linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mcliff1 committed Nov 9, 2024
1 parent b6cac77 commit 5969360
Show file tree
Hide file tree
Showing 5 changed files with 437 additions and 550 deletions.
17 changes: 0 additions & 17 deletions .eslintrc.json

This file was deleted.

35 changes: 35 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
const react = require('eslint-plugin-react');
const globals = require('globals');

module.exports = [
{
files: ["**/*.js", "**/*.jsx"],
languageOptions: {
ecmaVersion: 2021,
sourceType: "module",
parser: require("@typescript-eslint/parser"),
parserOptions: {
requireConfigFile: false,
ecmaFeatures: {
jsx: true
}
},
"globals": {
browser: true,
es2021: true
}
},
plugins: {
react: require("eslint-plugin-react"),
"@typescript-eslint": require("@typescript-eslint/eslint-plugin")
},
settings: {
react: {
version: "18.0"
}
},
rules: {
// Your custom rules
}
}
];
Loading

0 comments on commit 5969360

Please sign in to comment.