20 lines
781 B
Plaintext
20 lines
781 B
Plaintext
"use strict";
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
};
|
|
const path_1 = __importDefault(require("path"));
|
|
const base = require.resolve("./base");
|
|
const baseExtend = path_1.default.extname(`${base}`) === ".ts" ? "plugin:astro/base" : base;
|
|
module.exports = {
|
|
extends: [baseExtend],
|
|
rules: {
|
|
"astro/no-conflict-set-directives": "error",
|
|
"astro/no-deprecated-astro-canonicalurl": "error",
|
|
"astro/no-deprecated-astro-fetchcontent": "error",
|
|
"astro/no-deprecated-astro-resolve": "error",
|
|
"astro/no-deprecated-getentrybyslug": "error",
|
|
"astro/no-unused-define-vars-in-style": "error",
|
|
"astro/valid-compile": "error",
|
|
},
|
|
};
|