Files
test-repo/.eslintrc.js
T
Frank Li 80f38ce75b Website (#2241)
* initial docusaurus set-up

* Delete why-prettier.md

* Update README.md

* Update Docusaurus structure

* Update package.json

* Update siteConfig.js

* Remove ~ files

* chore(website): update build script

* Add redirect script

* Get eslint working on website

* Fix to allow for baseUrl of '/'

* Update docusaurus version

* Update README.md

* Change redirect script to use baseUrl of '/'

* Fix index.js formatting

* Load redirect script

* General cleanup

* Add projects using prettier
* Update service worker to just scope to playground
* Reduce link repeatition
* Link "Try it out" button to /playground/
* Make header of playground approximately same as main site
* Remove .html from URLs (e.g. users.html -> users/)
* Link Gitter Chat

* Add circleci.yml

* Only run builds on master

* Do deployment using Travis
2017-07-02 10:14:24 +10:00

28 lines
549 B
JavaScript

"use strict";
module.exports = {
env: {
es6: true,
node: true
},
extends: ["eslint:recommended", "plugin:react/recommended"],
plugins: ["prettier", "react"],
rules: {
curly: "error",
"no-console": "off",
"no-else-return": "error",
"no-inner-declarations": "off",
"no-var": "error",
"prefer-arrow-callback": "error",
"prefer-const": "error",
"prettier/prettier": "error",
"react/no-deprecated": "off",
strict: "error"
},
parserOptions: {
ecmaFeatures: {
jsx: true
}
}
};