23 lines
497 B
JavaScript
23 lines
497 B
JavaScript
import globals from "globals";
|
|
import pluginJs from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
|
|
|
|
|
|
export default [
|
|
{
|
|
files: ["src/*.ts"],
|
|
ignores:[
|
|
"node_modules",
|
|
"dist",
|
|
"lib",
|
|
"coverage"
|
|
],
|
|
languageOptions: {
|
|
globals: globals.browser,
|
|
}
|
|
},
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
eslintPluginPrettierRecommended,
|
|
]; |