mirror of
https://github.com/jwetzell/acn-js.git
synced 2026-07-26 10:28:41 +00:00
15 lines
518 B
JavaScript
15 lines
518 B
JavaScript
import globals from 'globals';
|
|
import pluginJs from '@eslint/js';
|
|
import tseslint from 'typescript-eslint';
|
|
import eslintPluginPrettier from 'eslint-plugin-prettier/recommended';
|
|
|
|
/** @type {import('eslint').Linter.Config[]} */
|
|
export default [
|
|
{ files: ['packages/**/*.ts']},
|
|
{ ignores: ['**/*.test.js','eslint.config.mjs','**/dist/**/*'] },
|
|
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
eslintPluginPrettier,
|
|
];
|