Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turn off unicorn/template-indent #269

Merged
merged 32 commits into from
Dec 2, 2023
Merged
Changes from 2 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
254a793
add template indent
gurgunday Nov 12, 2023
c1c2954
only remove html from default rule config
gurgunday Nov 13, 2023
0664876
make template-indent a *special rule*
gurgunday Nov 13, 2023
1ae4b25
feedback
gurgunday Nov 13, 2023
c3d1830
remove html comment
gurgunday Nov 13, 2023
797a8ad
simplify
gurgunday Nov 13, 2023
4789e63
Update README.md
gurgunday Nov 13, 2023
f52c23e
alphabet
gurgunday Nov 13, 2023
837de58
Merge branch 'uni' of https://github.com/gurgunday/eslint-config-pret…
gurgunday Nov 13, 2023
7bc2e94
alphabet
gurgunday Nov 13, 2023
b7cad84
update
gurgunday Nov 13, 2023
f219271
sort
gurgunday Nov 13, 2023
a90b71b
readme
gurgunday Nov 13, 2023
44d72b1
validator
gurgunday Nov 13, 2023
9b4a21d
add comments
gurgunday Nov 13, 2023
7ff5d69
case where firstOption is undefined
gurgunday Nov 13, 2023
91ddff1
remove extra
gurgunday Nov 13, 2023
b606212
only keep supported keywords
gurgunday Nov 13, 2023
4873540
add markdown and alphabetical order
gurgunday Nov 14, 2023
299ec2d
fix!
gurgunday Nov 14, 2023
ec831f8
prettier
gurgunday Nov 14, 2023
a011399
optional
gurgunday Nov 14, 2023
b3fad8e
simplify and remove array generation
gurgunday Nov 14, 2023
d16a829
remove unnecessary boolean constructor
gurgunday Nov 23, 2023
3a52c6c
Merge branch 'main' into uni
lydell Dec 2, 2023
e2b3c69
I don’t dare shipping ?. right now
lydell Dec 2, 2023
be4f66f
styled does not cause conflicts in the end (readme, tests)
lydell Dec 2, 2023
9404e90
Improve readme
lydell Dec 2, 2023
bf4067a
Improve tests
lydell Dec 2, 2023
56d9497
Add GraphQL comment
lydell Dec 2, 2023
0d36379
Add unicorn/template-indent to CLI test (like all other special rules)
lydell Dec 2, 2023
f43284d
Test handling empty array
lydell Dec 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,27 @@ module.exports = {
"unicorn/empty-brace-spaces": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/number-literal-case": "off",
"unicorn/template-indent": [
'error',
gurgunday marked this conversation as resolved.
Show resolved Hide resolved
{
tags: [
'outdent',
'dedent',
'gql',
'sql',
'styled'
],
functions: [
'dedent',
'stripIndent'
],
selectors: [],
comments: [
'HTML',
'indent'
]
}
],
"vue/array-bracket-newline": "off",
"vue/array-bracket-spacing": "off",
"vue/array-element-newline": "off",
Expand Down