rename eslint config to js

This commit is contained in:
f0x 2024-11-06 15:55:00 +01:00
parent 4a2c712b3d
commit 8464f20370

View File

@ -24,17 +24,17 @@ module.exports = [
parserOptions: { parserOptions: {
project: true, project: true,
ecmaFeatures: { ecmaFeatures: {
jsx: true jsx: true,
} },
} },
}, },
plugins: { plugins: {
"license-header": require("eslint-plugin-license-header"), "license-header": require("eslint-plugin-license-header"),
"only-warn": require("eslint-plugin-only-warn") "only-warn": require("eslint-plugin-only-warn"),
}, },
rules: { rules: {
"license-header/header": ["error", __dirname + "/.license-header.js"] "license-header/header": ["error", __dirname + "/.license-header.js"],
} },
}, },
...require("@f0x52/eslint-config") ...require("@f0x52/eslint-config"),
]; ];