diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-09-13 15:14:25 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-09-13 15:22:38 -0500 |
commit | fe4b4fdf7cbbf27ab96b4618ab0d3f39b02a04ce (patch) | |
tree | fdded80b264dcd8576dd4735c2c8a80806103040 /app/.eslintrc.cjs | |
download | trinkets-fe4b4fdf7cbbf27ab96b4618ab0d3f39b02a04ce.tar trinkets-fe4b4fdf7cbbf27ab96b4618ab0d3f39b02a04ce.tar.gz trinkets-fe4b4fdf7cbbf27ab96b4618ab0d3f39b02a04ce.tar.bz2 trinkets-fe4b4fdf7cbbf27ab96b4618ab0d3f39b02a04ce.tar.lz trinkets-fe4b4fdf7cbbf27ab96b4618ab0d3f39b02a04ce.tar.xz trinkets-fe4b4fdf7cbbf27ab96b4618ab0d3f39b02a04ce.tar.zst trinkets-fe4b4fdf7cbbf27ab96b4618ab0d3f39b02a04ce.zip |
Initial commit
Get the skeleton (hehe) started
Diffstat (limited to 'app/.eslintrc.cjs')
-rw-r--r-- | app/.eslintrc.cjs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/.eslintrc.cjs b/app/.eslintrc.cjs new file mode 100644 index 0000000..ebc1958 --- /dev/null +++ b/app/.eslintrc.cjs @@ -0,0 +1,30 @@ +module.exports = { + root: true, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:svelte/recommended', + 'prettier' + ], + parser: '@typescript-eslint/parser', + plugins: ['@typescript-eslint'], + parserOptions: { + sourceType: 'module', + ecmaVersion: 2020, + extraFileExtensions: ['.svelte'] + }, + env: { + browser: true, + es2017: true, + node: true + }, + overrides: [ + { + files: ['*.svelte'], + parser: 'svelte-eslint-parser', + parserOptions: { + parser: '@typescript-eslint/parser' + } + } + ] +}; |