aboutsummaryrefslogtreecommitdiff
path: root/node_modules/acorn/src/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/acorn/src/.eslintrc')
-rw-r--r--node_modules/acorn/src/.eslintrc33
1 files changed, 33 insertions, 0 deletions
diff --git a/node_modules/acorn/src/.eslintrc b/node_modules/acorn/src/.eslintrc
new file mode 100644
index 000000000..5549678a7
--- /dev/null
+++ b/node_modules/acorn/src/.eslintrc
@@ -0,0 +1,33 @@
+{
+ "extends": [
+ "eslint:recommended",
+ "standard",
+ "plugin:import/errors",
+ "plugin:import/warnings"
+ ],
+ "rules": {
+ "curly": "off",
+ "eqeqeq": "off",
+ "indent": ["error", 2, { "SwitchCase": 0, "VariableDeclarator": 2 }],
+ "new-parens": "off",
+ "no-case-declarations": "off",
+ "no-cond-assign": "off",
+ "no-fallthrough": "off",
+ "no-labels": "off",
+ "no-mixed-operators": "off",
+ "no-return-assign": "off",
+ "no-unused-labels": "error",
+ "no-var": "error",
+ "object-curly-spacing": ["error", "never"],
+ "one-var": "off",
+ "quotes": ["error", "double"],
+ "semi-spacing": "off",
+ "space-before-function-paren": ["error", "never"]
+ },
+ "globals": {
+ "Packages": false
+ },
+ "plugins": [
+ "import"
+ ]
+} \ No newline at end of file