owlboard-svelte/.eslintrc.cjs

18 lines
347 B
JavaScript

module.exports = {
root: true,
extends: ['eslint:recommended', 'plugin:svelte/recommended', 'prettier'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte']
},
env: {
browser: true,
es2017: true,
node: true
},
rules: {
indent: ['error', 2, { SwitchCase: 2 }]
}
};