Skip to content

Commit

Permalink
xo: disable camelcase rule for properties
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jul 23, 2023
1 parent 656727b commit dc6fc69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@
],
"rules": {
"arrow-body-style": "off",
"camelcase": [
"error",
{
"properties": "never"
}
],
"capitalized-comments": "off",
"comma-dangle": [
"error",
Expand Down
2 changes: 1 addition & 1 deletion test/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ describe('dependencyTree', () => {
mockfs({
[path.join(__dirname, '/es6')]: {
'module.entry.js': 'import * as module from "module.entry"',
node_modules: { // eslint-disable-line camelcase
node_modules: {
'module.entry': {
'index.main.js': 'module.exports = function() {};',
'index.module.js': 'module.exports = function() {};',
Expand Down

0 comments on commit dc6fc69

Please sign in to comment.