aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-11-25 04:06:49 +0700
committerGravatar Alexander Alexeev2016-11-25 04:16:32 +0700
commitf0c89530b6fc9abed18d52c4b6dc433e5d65a4b2 (patch)
tree47df46e9b83c736fb2b960f2f29851c86308a134 /juick-spring-www
parent748aa42590d80723f2704c829dca51d34bda7fe5 (diff)
eslint configuration file
Diffstat (limited to 'juick-spring-www')
-rw-r--r--juick-spring-www/.eslintrc32
1 files changed, 32 insertions, 0 deletions
diff --git a/juick-spring-www/.eslintrc b/juick-spring-www/.eslintrc
new file mode 100644
index 00000000..70f0fc89
--- /dev/null
+++ b/juick-spring-www/.eslintrc
@@ -0,0 +1,32 @@
+{
+ // Extend existing configuration
+ // from ESlint and eslint-plugin-react defaults.
+ "extends": [
+ "eslint:recommended"
+ //, "plugin:react/recommended"
+ ],
+ // Enable ES6 support. If you want to use custom Babel
+ // features, you will need to enable a custom parser
+ // as described in a section below.
+ "parserOptions": {
+ "ecmaVersion": 6,
+ "sourceType": "module"
+ },
+ "env": {
+ "browser": true,
+ "node": true
+ },
+ // Enable custom plugin known as eslint-plugin-react
+ "plugins": [
+ // "react"
+ ],
+ "rules": {
+ // Disable `no-console` rule
+ "no-console": 0,
+ // Give a warning if identifiers contain underscores
+ "no-underscore-dangle": 1,
+ // Default to single quotes and raise an error if something
+ // else is used
+ "quotes": [2, "single"]
+ }
+} \ No newline at end of file