Skip to content

Commit

Permalink
chore: setup build/release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jun 18, 2021
1 parent 6dc9ce1 commit d786fca
Show file tree
Hide file tree
Showing 42 changed files with 7,303 additions and 633 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build
node_modules
package
postinstall.js
44 changes: 44 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
const rules = {
'no-param-reassign': 'off',
// 'no-underscore-dangle': 'off',
// 'prefer-object-spread': 'off',
// 'prefer-destructuring': 'off',
'import/prefer-default-export': 'off',
// 'no-shadow': 'off',
// 'guard-for-in': 'off',
// 'no-restricted-syntax': 'off',
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
'no-console': 'off',
'no-restricted-globals': ['error', 'window', 'document'],
'react/jsx-filename-extension': 'off',
'react/prop-types': 'off',
'react/jsx-props-no-spreading': 'off',
};
module.exports = {
env: {
browser: true,
es6: true,
node: true,
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},

overrides: [
{
files: ['*.js'],
extends: ['plugin:react/recommended', 'airbnb-base', 'plugin:prettier/recommended'],
rules,
},
{
files: ['**/*.jsx', 'src/react/*.js'],
plugins: ['react'],
rules,
},
],
};
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
# Logs
logs
*.log
Expand Down Expand Up @@ -102,3 +103,14 @@ dist

# TernJS port file
.tern-port

build/*.css
build/*.less
build/*.scss
build/*.js
build/*.map
package/*.css
package/*.less
package/*.scss
package/*.js
package/*.map
4 changes: 0 additions & 4 deletions .npmignore

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build
node_modules
package
.nova
19 changes: 19 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"endOfLine": "auto",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"vueIndentScriptAndStyle": false
}
Loading

0 comments on commit d786fca

Please sign in to comment.