-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from mcliff1/mcliff1-patch-1
Mcliff1 patch 1
- Loading branch information
Showing
9 changed files
with
9,011 additions
and
5,644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import pluginReact from "eslint-plugin-react"; | ||
|
||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{files: ["**/*.{js,mjs,cjs,jsx}"]}, | ||
{languageOptions: { globals: globals.browser }}, | ||
pluginJs.configs.recommended, | ||
pluginReact.configs.flat.recommended, | ||
]; |
Oops, something went wrong.