tachiyomi-website/.eslintrc.js

38 lines
500 B
JavaScript
Raw Normal View History

module.exports = {
env: {
browser: true,
es6: true,
},
extends: ["vuepress", "prettier"],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},
parserOptions: {
ecmaVersion: 2018,
parser: "babel-eslint",
sourceType: "module",
},
rules: {
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
"import/no-unresolved": [
2,
{
ignore: ["^@"],
},
],
curly: ["error", "all"],
},
plugins: ["vue", "prettier", "markdown"],
};