forked from JMU-CIME/CPR-Music
-
Notifications
You must be signed in to change notification settings - Fork 12
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 #30 from Lab-Lab-Lab/main
Use standard formatting to cleanup source code. use eslint
- Loading branch information
Showing
69 changed files
with
2,298 additions
and
4,785 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,55 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"extends": [ | ||
"plugin:react/recommended", | ||
"airbnb", | ||
"prettier" | ||
], | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"extends": [ | ||
"plugin:react/recommended", | ||
"airbnb", | ||
"prettier" | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"react", | ||
"eslint-plugin-prettier" | ||
], | ||
"rules": { | ||
"react/jsx-filename-extension": [ | ||
1, | ||
{ | ||
"extensions": [ | ||
".js", | ||
".jsx" | ||
] | ||
} | ||
], | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"react" | ||
"no-console": "off", | ||
"no-unused-vars": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"import/prefer-default-export": "off", | ||
"indent": [ | ||
"off", | ||
0 | ||
], | ||
"rules": { | ||
"react/jsx-filename-extension": [ | ||
1, | ||
{ | ||
"extensions": [ | ||
".js", | ||
".jsx" | ||
] | ||
} | ||
], | ||
"no-console": "off", | ||
"no-unused-vars": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"indent": [ | ||
"warn", | ||
2 | ||
], | ||
"react/prop-types": "off", | ||
"default-param-last": "off", | ||
"default-case": "off", | ||
"no-case-declarations": "off", | ||
"jsx-a11y/anchor-is-valid": "off" | ||
} | ||
"react/prop-types": "off", | ||
"default-param-last": "off", | ||
"default-case": "off", | ||
"no-case-declarations": "off", | ||
"jsx-a11y/anchor-is-valid": "off", | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"semi": true, | ||
"endOfLine": "lf" | ||
} | ||
] | ||
} | ||
} |
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
Oops, something went wrong.