Skip to content

Commit

Permalink
chore: prefer linting example (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
saltyshiomix committed Nov 9, 2024
1 parent 72b9729 commit 27759d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 1 addition & 7 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@ import configPrettier from 'eslint-config-prettier'
*/
const config = [
{
ignores: [
'**/node_modules',
'pnpm-lock.yaml',
'**/bin',
'**/workspace',
'examples',
],
ignores: ['**/node_modules', 'pnpm-lock.yaml', '**/bin', '**/workspace'],
},
{
languageOptions: {
Expand Down
3 changes: 1 addition & 2 deletions examples/with-next-i18next/next-i18next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module.exports = {
reloadOnPrerender: process.env.NODE_ENV === 'development',
localePath:
typeof window === 'undefined'
? // eslint-disable-next-line @typescript-eslint/no-var-requires
require('path').resolve('./renderer/public/locales')
? require('path').resolve('./renderer/public/locales')
: '/locales',
}

0 comments on commit 27759d1

Please sign in to comment.