mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 15:26:17 +00:00
dad24e1199
Added rollup compiling
28 lines
662 B
JavaScript
28 lines
662 B
JavaScript
|
|
module.exports = exports = {
|
|
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
|
|
},
|
|
overrides: [
|
|
{
|
|
files: '$*.jsx',
|
|
extends: "twipped/react",
|
|
rules: {
|
|
'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']
|
|
}]
|
|
}
|
|
}
|
|
]
|
|
};
|