- Now uses webpack instead of browserify - Improved validation with ESLint and PropTypes - Moved all scss files to js folder to be at the same place like their corresponding js files - Removed unneeded scss files - Splitted up several React elements, especially the TitleBar - Converted stores to ES6 - Prepared for session token authetification in AuthStore - Completed classes for table objects - Added max values to attribute UI in phase 2 - Added more example chars - Added option to filter all chars by ownership - Added options to home page - Some changes to text on home page - Added first parts for history and undo features - Prepared and changed some things for component-only list handling (filter/sort) - Handling for skill requirements and cost now with top-level RequirementsStore, advatages, disadvantages and special abilities missing - Several small changes and bug fixes
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"shared-node-browser": true,
|
|
"es6": true,
|
|
"jest": true
|
|
},
|
|
"extends": ["eslint:recommended", "plugin:import/errors", "plugin:import/warnings"],
|
|
"installedESLint": true,
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2017,
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"rules": {
|
|
"semi": "error",
|
|
"no-unused-vars": "warn",
|
|
"no-console": 0,
|
|
"react/no-children-prop": "error",
|
|
"react/no-direct-mutation-state": "error",
|
|
"react/no-is-mounted": "error",
|
|
"react/no-multi-comp": "warn",
|
|
"react/prefer-es6-class": "warn",
|
|
"react/prop-types": [1, { "ignore": ["children"] }],
|
|
"react/react-in-jsx-scope": "error",
|
|
"react/sort-prop-types": "warn",
|
|
"react/jsx-no-target-blank": "error",
|
|
"react/jsx-no-undef": "error",
|
|
"react/jsx-pascal-case": [1, { "ignore": ["RCP"] }],
|
|
"react/jsx-uses-react": "error",
|
|
"react/jsx-uses-vars": "error",
|
|
"react/jsx-wrap-multilines": "error"
|
|
},
|
|
"settings": {
|
|
"import/extenstions": [".js", ".jsx"]
|
|
}
|
|
} |