-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94202cb
commit 57a6706
Showing
3 changed files
with
314 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,3 @@ | ||
import antfu from '@antfu/eslint-config' | ||
import config from '@kadiryazici/eslint-config' | ||
|
||
export default antfu({ | ||
rules: { | ||
'no-console': 'off', | ||
'vue/attribute-hyphenation': 'off', | ||
'vue/v-on-event-hyphenation': 'off', | ||
'ts/consistent-type-definitions': ['error', 'type'], | ||
'vue/custom-event-name-casing': 'off', | ||
'vue/max-attributes-per-line': ['error', { | ||
singleline: { | ||
max: 1, | ||
}, | ||
multiline: { | ||
max: 1, | ||
}, | ||
}], | ||
// Require curly always for if statements | ||
'curly': ['error', 'all'], | ||
// if else statements should be separated by a newline | ||
'brace-style': ['error', 'stroustrup', { allowSingleLine: false }], | ||
}, | ||
}) | ||
export default config() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.