Skip to content

Commit

Permalink
Use parent prettier configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Oct 6, 2023
1 parent 2e9363f commit aa72830
Show file tree
Hide file tree
Showing 17 changed files with 3,399 additions and 3,431 deletions.
53 changes: 24 additions & 29 deletions webif/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
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'
}
}
]
};
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',
},
},
],
}
9 changes: 0 additions & 9 deletions webif/.prettierrc

This file was deleted.

Loading

0 comments on commit aa72830

Please sign in to comment.