mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Merge pull request #6246 from lasniscinote/gl_SCI_9306
Fix ESLint config/install v.01 [SCI-9306]
This commit is contained in:
commit
2303b72f78
4 changed files with 84 additions and 2188 deletions
|
@ -3,15 +3,7 @@
|
|||
"browser": true,
|
||||
"jquery": true
|
||||
},
|
||||
"extends": ["airbnb-base/legacy"],
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
"ecmaVersion": 5,
|
||||
"ecmaFeatures": {
|
||||
"impliedStrict": true
|
||||
}
|
||||
},
|
||||
"extends": ["airbnb"],
|
||||
"rules": {
|
||||
"space-before-function-paren": ["error", "never"],
|
||||
"func-names": ["error", "never"],
|
||||
|
|
|
@ -5,23 +5,10 @@
|
|||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"plugins": ["flowtype", "react", "prettier"],
|
||||
"extends": ["airbnb", "prettier", "prettier/react", "plugin:vue/base"],
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
"ecmaVersion": 2016,
|
||||
"ecmaFeatures": {
|
||||
"impliedStrict": true,
|
||||
"jsx": true
|
||||
}
|
||||
},
|
||||
"extends": ["airbnb", "plugin:vue/base"],
|
||||
"rules": {
|
||||
"import/extensions": "off",
|
||||
"import/no-unresolved": "off",
|
||||
// Because of flow-typed & flow-bin
|
||||
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
|
||||
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
|
||||
"spaced-comment": [
|
||||
"error",
|
||||
"always",
|
||||
|
|
29
package.json
29
package.json
|
@ -5,43 +5,24 @@
|
|||
"main": "application.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/biosistemika/scinote-web.git"
|
||||
"url": "git+https://github.com/scinote-eln/scinote-web.git"
|
||||
},
|
||||
"author": "SEE AUTHORS AT https://github.com/biosistemika/scinote-web/graphs/contributors",
|
||||
"author": "SEE AUTHORS AT https://github.com/scinote-eln/scinote-web/graphs/contributors",
|
||||
"license": "SEE LICENSE IN LICENSE.txt",
|
||||
"bugs": {
|
||||
"url": "https://scinote.atlassian.net/"
|
||||
},
|
||||
"homepage": "https://github.com/biosistemika/scinote-web#readme",
|
||||
"files": [
|
||||
".eslintrc.json"
|
||||
],
|
||||
"homepage": "https://github.com/scinote-eln/scinote-web#readme",
|
||||
"scripts": {
|
||||
"flow": "flow",
|
||||
"lint": "eslint .",
|
||||
"build": "webpack --config ./config/webpack/webpack.config.js",
|
||||
"build:css": "./bin/build-css"
|
||||
},
|
||||
"postinstall": "./engines_yarn_install.js",
|
||||
"devDependencies": {
|
||||
"@webpack-cli/serve": "^1.7.0",
|
||||
"eslint": "^5.14.1",
|
||||
"eslint-config-airbnb": "^15.1.0",
|
||||
"eslint-config-airbnb-base": "^13.0.0",
|
||||
"eslint-config-google": "^0.9.1",
|
||||
"eslint-config-prettier": "^2.9.0",
|
||||
"eslint-plugin-flowtype": "^2.50.0",
|
||||
"eslint-plugin-import": "^2.13.0",
|
||||
"eslint-plugin-jquery": "^1.3.1",
|
||||
"eslint-plugin-jsx-a11y": "^5.1.1",
|
||||
"eslint-plugin-prettier": "^2.6.2",
|
||||
"eslint-plugin-react": "^7.10.0",
|
||||
"flow-bin": "^0.56.0",
|
||||
"flow-typed": "3.8.0",
|
||||
"less": "^4.2.0",
|
||||
"less-loader": "^11.1.3",
|
||||
"prettier": "^1.13.7",
|
||||
"prettier-eslint": "15.0.1"
|
||||
"prettier": "^1.13.7"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.21.3",
|
||||
|
@ -93,7 +74,7 @@
|
|||
"tinymce": "^6.5.1",
|
||||
"tui-code-snippet": "^1.5.0",
|
||||
"tui-color-picker": "^2.2.0",
|
||||
"tui-image-editor": "github:biosistemika/tui.image-editor#3_15_2_updated",
|
||||
"tui-image-editor": "github:scinote-eln/tui.image-editor#3_15_2_updated",
|
||||
"twemoji": "^12.1.4",
|
||||
"vue": "^2.6.11",
|
||||
"vue-loader": "^15.9.1",
|
||||
|
|
Loading…
Reference in a new issue