Skip to content

Commit

Permalink
Fix migration to @stylistic/js
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Sep 9, 2024
1 parent 6ce2451 commit a28f16c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ export default [
},
ignores: ["modules/base/zstd.mjs", "modules/base/lzma.mjs", "modules/d3.mjs", "modules/svg2pdf.mjs", "modules/jspdf.mjs", "modules/three.mjs", "modules/three_addons.mjs", "modules/gui/lil-gui.mjs", "modules/r162/**"],
rules: {
semi: "warn",
quotes: ["warn", "single"],
indent: "off",
camelcase: "off",
"prefer-const": "warn",
eqeqeq: "warn",
curly: ["warn", "multi-or-nest"],
"one-var": ["warn", "consecutive"],
"no-new-func": "off",
camelcase: 'off',
'prefer-const': 'warn',
eqeqeq: 'warn',
curly: ['warn', 'multi-or-nest'],
'one-var': ['warn', 'consecutive'],
'no-new-func': 'off',

// deprecated, no idea how to replace
// moved to @stylistic/js
'@stylistic/js/semi': 'warn',
'@stylistic/js/quotes': ['warn', 'single'],
'@stylistic/js/indent': 'off',
'@stylistic/js/array-bracket-spacing': 'warn',
'@stylistic/js/comma-spacing': 'warn',
'@stylistic/js/keyword-spacing': 'warn',
Expand Down

0 comments on commit a28f16c

Please sign in to comment.