-
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.
Update to ES module and webpack build
- Loading branch information
Showing
30 changed files
with
7,520 additions
and
5,847 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,26 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"loose": false, | ||
"modules": "commonjs", | ||
"spec": true, | ||
"useBuiltIns": false, | ||
"debug": false | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"@babel/plugin-transform-property-mutators", | ||
[ | ||
"@babel/plugin-transform-runtime", | ||
{ | ||
"corejs": false, | ||
"helpers": false, | ||
"regenerator": false, | ||
"useESModules": false | ||
} | ||
] | ||
] | ||
} |
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
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
lib/* | ||
!.eslintrc.js | ||
!jest.config.js | ||
dist/ | ||
__tests__/coverage/ |
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,59 @@ | ||
/** | ||
* @file Manages the root configuration settings for project wide eslint. | ||
* @module eslint/root/configuration | ||
* @see {@link https://eslint.org} for further information. | ||
*/ | ||
|
||
module.exports = { | ||
/** | ||
* @see {@link https://eslint.org/docs/user-guide/configuring#specifying-environments} | ||
*/ | ||
env: {}, | ||
|
||
/** | ||
* @see {@link https://eslint.org/docs/user-guide/configuring#extending-configuration-files} | ||
*/ | ||
extends: ['@prorenata/eslint-config-vue'], | ||
|
||
/** | ||
* You can define global variables here. | ||
* | ||
* @see {@link https://eslint.org/docs/user-guide/configuring#specifying-globals} | ||
*/ | ||
globals: {}, | ||
|
||
/** | ||
* Sometimes a more fine-controlled configuration is necessary, for example if the configuration | ||
* for files within the same directory has to be different. | ||
* | ||
* @see {@link https://eslint.org/docs/user-guide/configuring#configuration-based-on-glob-patterns} | ||
*/ | ||
overrides: [], | ||
|
||
/** | ||
* @see {@link https://eslint.org/docs/user-guide/configuring#specifying-parser-options} | ||
*/ | ||
parserOptions: {}, | ||
|
||
/** | ||
* @see {@link https://eslint.org/docs/user-guide/configuring#configuring-plugins} | ||
*/ | ||
plugins: [], | ||
|
||
/** | ||
* @see {@link https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy} | ||
*/ | ||
root: true, | ||
|
||
/** | ||
* @see {@link https://eslint.org/docs/user-guide/configuring#configuring-rules} | ||
*/ | ||
rules: {}, | ||
|
||
/** | ||
* Webpack-literate module resolution plugin for eslint-plugin-import. | ||
* | ||
* @see {@link https://www.npmjs.com/package/eslint-import-resolver-webpack} | ||
*/ | ||
settings: {}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
lts/* | ||
lts/carbon |
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,3 @@ | ||
node_modules/ | ||
dist/ | ||
__tests__/coverage/ |
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,14 @@ | ||
{ | ||
"arrowParens": "always", | ||
"bracketSpacing": false, | ||
"insertPragma": false, | ||
"jsxBracketSameLine": false, | ||
"printWidth": 130, | ||
"proseWrap": "preserve", | ||
"requirePragma": false, | ||
"semi": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "all", | ||
"useTabs": false | ||
} |
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.