chore(lint): ignored dist folder and licenseChecker.cjs
This commit is contained in:
parent
2ced6635e9
commit
d4e26b7f23
@ -1,12 +1,19 @@
|
||||
import { defineConfig } from "eslint/config";
|
||||
import globals from "globals";
|
||||
import js from "@eslint/js";
|
||||
import tseslint from "typescript-eslint";
|
||||
|
||||
import { defineConfig, globalIgnores } from 'eslint/config'
|
||||
import globals from 'globals'
|
||||
import js from '@eslint/js'
|
||||
import tseslint from 'typescript-eslint'
|
||||
|
||||
export default defineConfig([
|
||||
{ files: ["**/*.{js,mjs,cjs,ts}"] },
|
||||
{ files: ["**/*.{js,mjs,cjs,ts}"], languageOptions: { globals: globals.node } },
|
||||
{ files: ["**/*.{js,mjs,cjs,ts}"], plugins: { js }, extends: ["js/recommended"] },
|
||||
{ files: ['**/*.{js,mjs,cjs,ts}'] },
|
||||
{
|
||||
files: ['**/*.{js,mjs,cjs,ts}'],
|
||||
languageOptions: { globals: globals.node }
|
||||
},
|
||||
{
|
||||
files: ['**/*.{js,mjs,cjs,ts}'],
|
||||
plugins: { js },
|
||||
extends: ['js/recommended']
|
||||
},
|
||||
tseslint.configs.recommended,
|
||||
]);
|
||||
globalIgnores(['dist', 'licenseChecker.cjs'])
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user