You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// babel-eslint parser is used to support experimental features not supported in ESLint itself yet
parser: "babel-eslint",
parserOptions: {
ecmaVersion: 8,
ecmaFeatures: {
impliedStrict: true, //enable global strict mode (if ecmaVersion is 5 or greater)
},
},
root: true,
env: {
browser: true,
node: true,
jest: true,
},
rules: {
// allow .js extensions for JSX.
"react/state-in-constructor": 0,
"react/jsx-filename-extension": [
1,
{
extensions: [".js", ".jsx"],
},
],
quotes: [
2,
"single",
{
avoidEscape: true, // allows strings to use single-quotes or double-quotes so long as the string contains a quote that would have to be escaped otherwise
allowTemplateLiterals: true, // allows strings to use backticks