Add lint for Unix line endings

This commit is contained in:
Marshall Polaris 2022-07-02 17:57:03 -07:00
parent 82e713423c
commit ea9f429919
3 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,7 @@ module.exports = {
rules: {
'no-extra-semi': 'off',
'no-constant-condition': ['error', { checkLoops: false }],
'linebreak-style': ['error', 'unix'],
'lodash/import-scope': [2, 'member'],
},
}

View File

@ -30,6 +30,7 @@ module.exports = {
},
],
rules: {
'linebreak-style': ['error', 'unix'],
'lodash/import-scope': [2, 'member'],
},
}

View File

@ -19,6 +19,7 @@ module.exports = {
],
'@next/next/no-img-element': 'off',
'@next/next/no-typos': 'off',
'linebreak-style': ['error', 'unix'],
'lodash/import-scope': [2, 'member'],
},
env: {