mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
This commit contains an unmodified React app template. The interesting bit is the following commit that shows how to modify this template to interoperate with the JUCE framework.
26 lines
481 B
JavaScript
26 lines
481 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
},
|
|
extends: ["eslint:recommended", "plugin:react/recommended"],
|
|
overrides: [
|
|
{
|
|
env: {
|
|
node: true,
|
|
},
|
|
files: [".eslintrc.{js,cjs}"],
|
|
parserOptions: {
|
|
sourceType: "script",
|
|
},
|
|
},
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
sourceType: "module",
|
|
},
|
|
plugins: ["react"],
|
|
rules: {
|
|
"no-extra-semi": "error",
|
|
},
|
|
};
|