mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 12:32:42 +00:00
eslint corrections
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
|
||||
module.exports = exports = {
|
||||
extends: "twipped/browser",
|
||||
env: {es6: true, jquery: true},
|
||||
extends: 'twipped/browser',
|
||||
env: { es6: true, jquery: true },
|
||||
rules: {
|
||||
'indent': [ 2, 2, {
|
||||
'MemberExpression': 1,
|
||||
} ],
|
||||
'prefer-arrow-callback': 0,
|
||||
'object-shorthand': 0,
|
||||
'node/no-unsupported-features/node-builtins': 0
|
||||
'node/no-unsupported-features/node-builtins': 0,
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: '$*.jsx',
|
||||
extends: "twipped/react",
|
||||
extends: 'twipped/react',
|
||||
rules: {
|
||||
'react/jsx-indent': [2, 2, {checkAttributes: true}],
|
||||
"react/no-unknown-property": [2, { ignore: ['class'] }],
|
||||
'react/jsx-indent': [ 2, 2, { checkAttributes: true } ],
|
||||
'react/no-unknown-property': [ 2, { ignore: [ 'class' ] } ],
|
||||
'node/no-unpublished-import': 0,
|
||||
"node/no-missing-import": ["error", {
|
||||
"allowModules": ["svg", 'react']
|
||||
}]
|
||||
}
|
||||
}
|
||||
]
|
||||
'node/no-missing-import': [ 'error', {
|
||||
'allowModules': [ 'svg', 'react' ],
|
||||
} ],
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user