UNPKG

@carto/ps-style-guide

Version:

CARTO's engineering style guide for Professional Services

39 lines (37 loc) 779 B
import globals from 'globals' import pluginJs from '@eslint/js' import eslintConfigPrettier from 'eslint-config-prettier' /** @type {import('eslint').Linter.Config[]} */ export default [ pluginJs.configs.recommended, eslintConfigPrettier, { name: '_base', languageOptions: { ecmaVersion: 'latest', sourceType: 'module', globals: globals.es2025, }, linterOptions: { noInlineConfig: false, reportUnusedDisableDirectives: 'warn', }, }, { rules: { 'no-console': 'warn', 'no-debugger': 'warn', }, }, { ignores: [ 'node_modules/**', 'dist/**', 'build/**', 'coverage/**', '.git/**', 'vite.config.js.timestamp*', 'vite.config.ts.timestamp*', ], }, ]