Cleanup
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
// /* eslint-env node */
|
||||
// module.exports = {
|
||||
// extends: ["eslint:recommended"],
|
||||
// ignorePatterns: [".eslintrc.js"],
|
||||
// root: true,
|
||||
// };
|
||||
@@ -1,24 +1,3 @@
|
||||
import js from "@eslint/js";
|
||||
|
||||
export default [
|
||||
js.configs.recommended,
|
||||
{
|
||||
ignores: ["eslintrc-*.js"]
|
||||
}
|
||||
]
|
||||
// import path from "node:path";
|
||||
// import { fileURLToPath } from "node:url";
|
||||
// import js from "@eslint/js";
|
||||
// import { FlatCompat } from "@eslint/eslintrc";
|
||||
|
||||
// const __filename = fileURLToPath(import.meta.url);
|
||||
// const __dirname = path.dirname(__filename);
|
||||
// const compat = new FlatCompat({
|
||||
// baseDirectory: __dirname,
|
||||
// recommendedConfig: js.configs.recommended,
|
||||
// allConfig: js.configs.all
|
||||
// });
|
||||
|
||||
// export default [{
|
||||
// ignores: ["**/.eslintrc.js"],
|
||||
// }, ...compat.extends("eslint:recommended")];
|
||||
export default [js.configs.recommended];
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
/* eslint-env node */
|
||||
module.exports = {
|
||||
extends: ["./eslintrc-react.js"],
|
||||
ignorePatterns: [".eslintrc.js", "next.config.js", "out"],
|
||||
};
|
||||
5
web/packages/build-config/eslintrc-next.mjs
Normal file
5
web/packages/build-config/eslintrc-next.mjs
Normal file
@@ -0,0 +1,5 @@
|
||||
// /* eslint-env node */
|
||||
// module.exports = {
|
||||
// extends: ["./eslintrc-react.js"],
|
||||
// ignorePatterns: [".eslintrc.js", "next.config.js", "out"],
|
||||
// };
|
||||
Reference in New Issue
Block a user