Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Fix linting and linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kelly committed Nov 9, 2017
1 parent 2e20fbe commit 8fadabc
Show file tree
Hide file tree
Showing 52 changed files with 957 additions and 4,288 deletions.
1 change: 0 additions & 1 deletion .eslintignore
@@ -1,7 +1,6 @@
packages/slate-theme/dist
packages/slate-theme/src/scripts/**/*.js.liquid
packages/slate-cli/lib
packages/slate-tools/lib
**/node_modules/
docs/
ci/
12 changes: 7 additions & 5 deletions .eslintrc
@@ -1,19 +1,21 @@
{
"extends": [
"plugin:shopify/esnext",
"plugin:shopify/prettier",
"plugin:shopify/node",
"plugin:shopify/jquery"
],
"env": {
"jest": true
},
"rules": {
"no-console": 0,
"node/shebang": 0
"import/no-anonymous-default-export": 0,
"func-style": ["warn", "declaration", {"allowArrowFunctions": true}],
"import/no-unresolved": ["error", {"ignore": ["^jquery$"]}]
},
"globals": {
"document": true,
"window": true,
"Shopify": true
"theme": true,
"Shopify": true,
"window": true
}
}
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -55,3 +55,4 @@ lerna-debug.log
/packages/slate-tools/lib/
.changelog/
packages/slate-theme/config/shopify.yml
.vscode/
6 changes: 6 additions & 0 deletions .prettierignore
@@ -0,0 +1,6 @@
packages/slate-theme/dist
packages/slate-theme/src/scripts/**/*.js.liquid
packages/slate-cli/lib
**/node_modules/
docs/
ci/
7 changes: 7 additions & 0 deletions .stylelintignore
@@ -0,0 +1,7 @@
packages/slate-theme/dist
packages/slate-theme/src/scripts/**/*.js.liquid
packages/slate-cli/lib
**/node_modules/
docs/
ci/
git:/
5 changes: 4 additions & 1 deletion .stylelintrc
@@ -1,3 +1,6 @@
{
"extends": ["stylelint-config-shopify"]
"extends": ["stylelint-config-shopify/prettier"],
"rules": {
"selector-class-pattern": null
}
}
10 changes: 5 additions & 5 deletions jest.config.js
@@ -1,7 +1,7 @@
module.exports = {
testPathIgnorePatterns: [
"/node_modules/",
"/lib/",
"packages/slate-tools/src/commands/test.js"
]
}
'/node_modules/',
'/lib/',
'packages/slate-tools/src/commands/test.js',
],
};

0 comments on commit 8fadabc

Please sign in to comment.