forked from mozilla/glean-dictionary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f2c7547
Showing
26 changed files
with
26,376 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 2.1 | ||
orbs: | ||
node: circleci/[email protected] | ||
jobs: | ||
build-and-test: | ||
executor: | ||
name: node/default | ||
tag: "12.16" | ||
steps: | ||
- checkout | ||
- node/install-packages | ||
- run: npm install | ||
- run: npm test | ||
workflows: | ||
build-and-test: | ||
jobs: | ||
- build-and-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
root = true | ||
|
||
[*] | ||
trim_trailing_whitespace = true | ||
|
||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Unix line endings | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.py] | ||
indent_size = 4 | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Inverse matches (i.e., DO NOT ignore these) | ||
!.prettierrc.js | ||
|
||
public/build/bundle.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
module.exports = { | ||
parserOptions: { | ||
ecmaVersion: 2019, | ||
sourceType: "module", | ||
}, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
}, | ||
extends: ["airbnb-base"], | ||
plugins: ["jest", "svelte3"], | ||
rules: { | ||
"import/prefer-default-export": "off", | ||
"import/no-extraneous-dependencies": ["error", { devDependencies: true }], | ||
"no-param-reassign": [ | ||
"error", | ||
{ props: true, ignorePropertyModificationsFor: ["draft"] }, | ||
], | ||
}, | ||
overrides: [ | ||
{ | ||
files: ["**/*.js"], | ||
extends: ["prettier"], | ||
plugins: ["prettier"], | ||
rules: { | ||
"prettier/prettier": "error", | ||
}, | ||
}, | ||
{ | ||
files: ["**/*.svelte"], | ||
processor: "svelte3/svelte3", | ||
|
||
// Turn off all rules that might conflict with Prettier.[1] Note that this | ||
// does not warn if a Svelte file disobeys Prettier rules. That's what the | ||
// Prettier *plugin* does, but at the time of this writing, the | ||
// eslint-plugin-svelte3 plugin discourages the use of the Prettier | ||
// plugin for Svelte files.[2] | ||
// | ||
// [1] https://github.com/prettier/eslint-config-prettier | ||
// [2] https://github.com/sveltejs/eslint-plugin-svelte3/blob/6900d670c9e85509b2d21decd91f1e75f7934596/OTHER_PLUGINS.md#eslint-plugin-prettier | ||
extends: ["prettier"], | ||
|
||
rules: { | ||
"prefer-const": "off", | ||
|
||
// Disable rules that do not work correctly with eslint-plugin-svelte3 | ||
// | ||
// https://github.com/sveltejs/eslint-plugin-svelte3/blob/6900d670c9e85509b2d21decd91f1e75f7934596/OTHER_PLUGINS.md#eslint-plugin-import | ||
"import/first": "off", | ||
"import/no-duplicates": "off", | ||
"import/no-mutable-exports": "off", | ||
"import/no-unresolved": "off", | ||
|
||
// Temporarily work around a bug in eslint-plugin-svelte3. | ||
// | ||
// https://github.com/sveltejs/eslint-plugin-svelte3/issues/41#issuecomment-572503966 | ||
"no-multiple-empty-lines": ["error", { max: 2, maxBOF: 2, maxEOF: 0 }], | ||
}, | ||
}, | ||
{ | ||
files: ["tests/**/*.test.js"], | ||
plugins: ["jest"], | ||
extends: ["plugin:jest/recommended", "plugin:jest/style"], | ||
env: { | ||
jest: true, | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/node_modules/ | ||
/public/build/ | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
public/build/bundle.js | ||
public/build/bundle.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
// Hard-wrap Markdown | ||
proseWrap: "always", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
stories: ["../stories/**/*.stories.js"], | ||
addons: ["@storybook/addon-knobs"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import "./story.css"; |
Empty file.
Oops, something went wrong.