allows mixed tabs and spaces when the spaces are used for alignment
This commit is contained in:
10
.eslintrc.js
10
.eslintrc.js
@ -11,6 +11,12 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
rules: {},
|
rules: {},
|
||||||
overrides: [
|
overrides: [
|
||||||
|
{
|
||||||
|
files: ['*.js'],
|
||||||
|
rules: {
|
||||||
|
'no-mixed-spaces-and-tabs': ['error', 'smart-tabs'],
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
files: ['*.astro'],
|
files: ['*.astro'],
|
||||||
parser: 'astro-eslint-parser',
|
parser: 'astro-eslint-parser',
|
||||||
@ -18,7 +24,9 @@ module.exports = {
|
|||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
extraFileExtensions: ['.astro'],
|
extraFileExtensions: ['.astro'],
|
||||||
},
|
},
|
||||||
rules: {},
|
rules: {
|
||||||
|
'no-mixed-spaces-and-tabs': ['error', 'smart-tabs'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['*.ts'],
|
files: ['*.ts'],
|
||||||
|
Reference in New Issue
Block a user