From 0a4b9ceb2efd5d7cb62496abb190d30eb33c1e83 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Tue, 17 Jul 2018 23:06:42 -0500 Subject: [PATCH] Add package.json & update dot files --- .eslintrc | 5 +++-- .gitignore | 3 +++ package.json | 8 ++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 package.json diff --git a/.eslintrc b/.eslintrc index 37c2ae81..af111acb 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,12 +1,13 @@ # https://github.com/eslint/eslint/blob/master/docs/rules/README.md parserOptions: - ecmaVersion: 2015 + ecmaVersion: 2017 env: browser: true es6: true webextensions: true + node: true globals: # messaging.js @@ -224,7 +225,7 @@ rules: no-unsafe-negation: [2] no-unused-expressions: [1] no-unused-labels: [0] - no-unused-vars: [1, {args: after-used, vars: local, argsIgnorePattern: ^_}] + no-unused-vars: [0] no-use-before-define: [2, nofunc] no-useless-call: [2] no-useless-computed-key: [2] diff --git a/.gitignore b/.gitignore index ac8fd4e4..71278d14 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ .DS_Store pull_locales_login.rb .vscode +node_modules/ +package-lock.json +yarn.lock diff --git a/package.json b/package.json new file mode 100644 index 00000000..445ae382 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "name": "Stylus", + "version": "1.4.16", + "description": "Redesign the web with Stylus, a user styles manager", + "license": "GPL-3.0-only", + "repository": "openstyles/stylus", + "author": "Stylus Team" +}