react-widgets-plugin
Version:
The simplest way to integrate wiki and knowledge base for growing teams. Beautiful, feature rich, and components..
29 lines (26 loc) • 596 B
JavaScript
const fs = require('fs');
const prettierOptions = JSON.parse(fs.readFileSync('./.prettierrc', 'utf8'));
module.exports = {
extends: ['last', 'prettier', 'prettier/react', 'plugin:react/recommended'],
plugins: ['react', 'prettier'],
globals: {
document: true,
window: true,
describe: true,
it: true,
module: true,
exports: true,
require: true
},
rules: {
'prettier/prettier': ['error', prettierOptions],
'no-unused-vars': [
'off',
{
vars: 'all',
args: 'after-used',
ignoreRestSiblings: false
}
]
}
};