Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
Kaustav | #NOTAIGA | Added .eslintrc to the base-react template.
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixTW committed Aug 24, 2019
1 parent 73875d5 commit 500f1ae
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions docusaurus/website/versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"0.4.1",
"0.4",
"0.3.3",
"0.3.2",
Expand Down
49 changes: 49 additions & 0 deletions templates/base-react/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"env": {
"browser": true,
"es6": true,
"jest": true
},
"extends": [
"airbnb"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"globals": {
"shallow": true
},
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"import/no-extraneous-dependencies": [
"warn",
{
"devDependencies": [
"./src/setupTests.js",
"./src/**/*.test.js"
]
}
],
"quotes": [
"error",
"single"
]
}
}

0 comments on commit 500f1ae

Please sign in to comment.