mirror of
https://github.com/primer/css.git
synced 2024-11-27 17:52:45 +03:00
add lint rules back for docs
This commit is contained in:
parent
2d5e6a21f8
commit
216fc46449
17
docs/.eslintrc.json
Normal file
17
docs/.eslintrc.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"extends": [
|
||||||
|
"plugin:github/react",
|
||||||
|
"plugin:jsx-a11y/recommended"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"import/no-namespace": 0,
|
||||||
|
"no-unused-vars": ["error", {
|
||||||
|
"ignoreRestSiblings": true
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"react": {
|
||||||
|
"version": "detect"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user