Merge pull request #32 from utopia-os/lint-nochange

feat(other): lint nochange
This commit is contained in:
antontranelis 2024-11-11 14:22:04 +01:00 committed by GitHub
commit b6bd8cf2fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 14 deletions

View File

@ -46,18 +46,11 @@ module.exports = {
'react/react-in-jsx-scope': 'off', // Disable requirement for React import
// 'no-catch-all/no-catch-all': 'error',
// 'no-console': 'error',
// 'no-debugger': 'error',
// camelcase: 'error',
// indent: ['error', 2],
// 'linebreak-style': ['error', 'unix'],
// semi: ['error', 'never'],
// // This makes sure our vike router does not throw errors
// 'vue/multi-word-component-names': [
// 'error',
// {
// ignores: ['+Page'],
// },
// ],
'no-debugger': 'error',
camelcase: 'error',
indent: ['error', 2],
'linebreak-style': ['error', 'unix'],
semi: ['error', 'never'],
// Optional eslint-comments rule
'@eslint-community/eslint-comments/no-unused-disable': 'error',
'@eslint-community/eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],

View File

@ -16,7 +16,7 @@ jobs:
filters: |
build:
- '.github/workflows/**/*'
- 'src/**/*'
- '**/*'
build:
if: needs.files-changed.outputs.build == 'true'

View File

@ -16,7 +16,7 @@ jobs:
filters: |
lint:
- '.github/workflows/**/*'
- 'src/**/*'
- '**/*'
# build:
# if: needs.files-changed.outputs.frontend == 'true'