aboutsummaryrefslogtreecommitdiff
path: root/juick-www/.eslintrc
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-22 16:51:43 +0300
committerGravatar Vitaly Takmazov2016-07-27 13:52:02 +0300
commitd3454e70a5855164d17c563fe15e8674b5a5ae2e (patch)
treefda0c9da5e44de736f0215b3d6c63872329b0544 /juick-www/.eslintrc
parentdbc48e0d220107ac0887d21f2144665f4eea5aab (diff)
* drop jQuery dependency
Diffstat (limited to 'juick-www/.eslintrc')
-rw-r--r--juick-www/.eslintrc32
1 files changed, 32 insertions, 0 deletions
diff --git a/juick-www/.eslintrc b/juick-www/.eslintrc
new file mode 100644
index 00000000..70f0fc89
--- /dev/null
+++ b/juick-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