I fixed .eslint.js as below.
I also changed new linecode of .eslint.js from LF to CRLF (I'm using Windows) at the bottom botton.
module.exports = {
env: {
browser: true,
es2021: true,
node: true
},
extends: [
"standard"
],
parserOptions: {
ecmaVersion: 12
},
rules: {
indent: [
"error",
2,
{ SwitchCase: 1 }
],
"linebreak-style": [
"error",
"windows"
],
quotes: [
"error",
"double"
],
semi: [
"error",
"always"
],
"no-unused-vars": [
"error",
{
vars: "all",
args: "none"
}
],
"no-console": [
"off"
]
}
};
Top comments (0)