You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by er...@apache.org on 2017/11/17 13:48:53 UTC
[royale-asjs] 02/08: Take ESLint config from package.json
This is an automated email from the ASF dual-hosted git repository.
erikdebruin pushed a commit to branch feature/as2wasm
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 3ac5ac03d58f0bb86479d28751db3d36601d9f2e
Author: Erik de Bruin <er...@ixsoftware.nl>
AuthorDate: Fri Nov 17 10:01:05 2017 +0100
Take ESLint config from package.json
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
---
wast/.eslintrc.json | 31 +++++++++++++++++++++++++++++++
wast/package.json | 36 +++---------------------------------
2 files changed, 34 insertions(+), 33 deletions(-)
diff --git a/wast/.eslintrc.json b/wast/.eslintrc.json
new file mode 100644
index 0000000..172a7e8
--- /dev/null
+++ b/wast/.eslintrc.json
@@ -0,0 +1,31 @@
+{
+
+ "env": {
+ "browser": true,
+ "es6": true,
+ "node": true
+ },
+
+ "extends": "eslint:recommended",
+
+ "globals": {
+ "WebAssembly": true
+ },
+
+ "rules": {
+ "eqeqeq": [ "error", "always" ],
+ "indent": [ "error", 2, {
+ "FunctionDeclaration": { "body": 1, "parameters": 2 },
+ "FunctionExpression": { "body": 1, "parameters": 2 },
+ "MemberExpression": 0,
+ "SwitchCase": 1,
+ "VariableDeclarator": { "var": 2, "let": 2, "const": 3 }
+ } ],
+ "linebreak-style": [ "error", "unix" ],
+ "no-console": "off",
+ "quotes": [ "error", "single" ],
+ "semi": [ "error", "always" ],
+ "yoda": [ "error", "always" ]
+ }
+
+}
\ No newline at end of file
diff --git a/wast/package.json b/wast/package.json
index 7b5faa9..f23ca01 100644
--- a/wast/package.json
+++ b/wast/package.json
@@ -1,48 +1,18 @@
{
- "author": "erik@ixsoftware.nl",
+ "author": "erikdebruin@apache.org",
"description": "A Actionscript/MXML to WebAssembly transpiler",
- "eslintConfig": {
- "env": {
- "browser": true,
- "es6": true,
- "node": true
- },
-
- "extends": "eslint:recommended",
-
- "globals": {
- "WebAssembly": true
- },
-
- "rules": {
- "eqeqeq": [ "error", "always" ],
- "indent": [ "error", 2, {
- "FunctionDeclaration": { "body": 1, "parameters": 2 },
- "FunctionExpression": { "body": 1, "parameters": 2 },
- "MemberExpression": 0,
- "SwitchCase": 1,
- "VariableDeclarator": { "var": 2, "let": 2, "const": 3 }
- } ],
- "linebreak-style": [ "error", "unix" ],
- "no-console": "off",
- "quotes": [ "error", "single" ],
- "semi": [ "error", "always" ],
- "yoda": [ "error", "always" ]
- }
- },
-
"license": "Apache-2.0",
- "name": "royale-wast",
+ "name": "as2wasm",
"scripts": {
"dev-build": "ant -f ./dev-build.xml",
"create-project": "node create.js"
},
- "version": "0.0.1"
+ "version": "0.1.0"
}
--
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <co...@royale.apache.org>.