mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Move linter file
This commit is contained in:
parent
822e734a4e
commit
cc58c48c9b
2 changed files with 4 additions and 2 deletions
25
safe-chain/eslint.config.js
Normal file
25
safe-chain/eslint.config.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import js from "@eslint/js";
|
||||
import { defineConfig } from "@eslint/config-helpers";
|
||||
import globals from "globals";
|
||||
import importPlugin from "eslint-plugin-import";
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
files: ["**/*.{js,mjs,cjs,ts}"],
|
||||
plugins: { js },
|
||||
extends: ["js/recommended"],
|
||||
},
|
||||
{
|
||||
files: ["**/*.{js,mjs,cjs,ts}"],
|
||||
languageOptions: { globals: globals.node },
|
||||
},
|
||||
importPlugin.flatConfigs.recommended,
|
||||
{
|
||||
files: ["**/*.{js,mjs,cjs}"],
|
||||
languageOptions: {
|
||||
ecmaVersion: "latest",
|
||||
sourceType: "module",
|
||||
},
|
||||
rules: {},
|
||||
},
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue