mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-17 08:37:57 +02:00
chore(website): enable eslint in website (#5889)
* chore: enable eslint in website * Fixes * prettier users
This commit is contained in:
parent
0aba31de7b
commit
e0127c66be
29 changed files with 272 additions and 163 deletions
11
.eslintrc.js
11
.eslintrc.js
|
@ -49,7 +49,16 @@ module.exports = {
|
|||
// Ignore certain webpack alias because it can't be resolved
|
||||
'import/no-unresolved': [
|
||||
ERROR,
|
||||
{ignore: ['^@theme', '^@docusaurus', '^@generated', 'unist', 'mdast']},
|
||||
{
|
||||
ignore: [
|
||||
'^@theme',
|
||||
'^@docusaurus',
|
||||
'^@generated',
|
||||
'^@site',
|
||||
'unist',
|
||||
'mdast',
|
||||
],
|
||||
},
|
||||
],
|
||||
'import/extensions': OFF,
|
||||
'header/header': [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue