Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit 183c78b

Browse files
committed
Release 3.0.0
0 parents  commit 183c78b

File tree

10 files changed

+195
-0
lines changed

10 files changed

+195
-0
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Contributing to oraclejet-tooling
2+
3+
*Copyright (c) 2014, 2017 Oracle and/or its affiliates
4+
The Universal Permissive License (UPL), Version 1.0*
5+
6+
**Pull requests are currently not being accepted for the Oracle JET project.**
7+
8+
We plan to provide this functionality in the future. At that time, you will need to follow [The Oracle Contributor Agreement](https://www.oracle.com/technetwork/community/oca-486395.html)
9+
(OCA).
10+
11+
If you have ideas, comments, or issues related to generator, swing on by the [Oracle JET discussion forum.](https://community.oracle.com/community/development_tools/oracle-jet/generators)
12+

LICENSE.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# oraclejet-tooling
2+
3+
You may not use the identified files except in compliance with the
4+
Universal Permissive License (UPL), Version 1.0 (the "License.")
5+
6+
You may obtain a copy of the License at
7+
https://opensource.org/licenses/UPL. A copy of the license is
8+
also reproduced below.
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13+
implied.
14+
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
19+
```
20+
Copyright (c) 2014, 2017 Oracle and/or its affiliates
21+
The Universal Permissive License (UPL), Version 1.0
22+
23+
Subject to the condition set forth below, permission is hereby granted to any person obtaining
24+
a copy of this software, associated documentation and/or data (collectively the "Software"),
25+
free of charge and under any and all copyright rights in the Software, and any and all patent
26+
rights owned or freely licensable by each licensor hereunder covering either (i) the unmodified
27+
Software as contributed to or provided by such licensor, or (ii) the Larger Works (as defined below),
28+
to deal in both
29+
30+
(a) the Software, and (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
31+
one is included with the Software (each a “Larger Work” to which the Software is contributed by such licensors),
32+
without restriction, including without limitation the rights to copy, create derivative works of,
33+
display, perform, and distribute the Software and make, use, sell, offer for sale, import, export,
34+
have made, and have sold the Software and the Larger Work(s), and to sublicense the foregoing rights
35+
on either these or other terms.
36+
37+
This license is subject to the following condition:
38+
39+
The above copyright notice and either this complete permission notice or at a minimum a reference
40+
to the UPL must be included in all copies or substantial portions of the Software.
41+
42+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
43+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
44+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
46+
THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
47+
```

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# eslint-config-oraclejet 3.0.0
2+
3+
## About the module
4+
This module contains eslint configuration suitable for Oracle JET web and hybrid mobile applications.
5+
6+
This is an open source project maintained by Oracle Corp.
7+
8+
## [Contributing](https://github.com/oracle/oraclejet-tooling/tree/master/CONTRIBUTING.md)
9+
Oracle JET is an open source project. Pull Requests are currently not being accepted. See [CONTRIBUTING](https://github.com/oracle/oraclejet-tooling/tree/master/CONTRIBUTING.md) for details.
10+
11+
## [License](https://github.com/oracle/oraclejet-tooling/tree/master/LICENSE.md)
12+
Copyright (c) 2014, 2017 Oracle and/or its affiliates The Universal Permissive License (UPL), Version 1.0
13+

RELEASENOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Release Notes for eslint-config-oraclejet ##
2+
3+
### 3.0.0
4+
* Initial release

es5.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
3+
The Universal Permissive License (UPL), Version 1.0
4+
*/
5+
// Config for es6
6+
module.exports = {
7+
extends: [
8+
'./es5/base'
9+
].map(require.resolve),
10+
rules: {}
11+
};

es5/base.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/**
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
3+
The Universal Permissive License (UPL), Version 1.0
4+
*/
5+
module.exports = {
6+
"parserOptions": {
7+
"ecmaVersion": 5
8+
},
9+
"extends": "airbnb/legacy", // use for ESLint5
10+
"plugins": [
11+
"react",
12+
],
13+
"env": {
14+
"jquery": true
15+
},
16+
"globals": {
17+
"oj": true
18+
},
19+
"rules": {
20+
"comma-dangle": "off",
21+
"no-underscore-dangle": "off", // JET closure complier uses leading underscores to identify private methods
22+
"vars-on-top": "off", // anti-pattern
23+
"quote-props": "off", // JET components explictly quote properties to avoid closure-compiler transformations.
24+
"dot-notation": "off", // related to quote-props
25+
"func-names": "off",
26+
27+
"spaced-comment": ["warn", "always", {
28+
"line": {
29+
"markers" : ["/"],
30+
"exceptions" : ["/"],
31+
},
32+
"block": {
33+
"markers" : ["!"],
34+
"exceptions" : ["*"]
35+
}
36+
}],
37+
}
38+
}

es6.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
3+
The Universal Permissive License (UPL), Version 1.0
4+
*/
5+
// Config for es6
6+
module.exports = {
7+
extends: [
8+
'./es6/base'
9+
].map(require.resolve),
10+
rules: {}
11+
};

es6/base.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/**
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
3+
The Universal Permissive License (UPL), Version 1.0
4+
*/
5+
module.exports = {
6+
"installedESLint": true,
7+
"extends": "airbnb-base",
8+
"plugins": [
9+
],
10+
"rules": {
11+
"comma-dangle": "off",
12+
"no-underscore-dangle": "off",
13+
"vars-on-top": "off",
14+
"func-names": "off",
15+
"linebreak-style": "off",
16+
"no-console" : "off",
17+
"strict" : "off",
18+
"import/no-unresolved" : [2, {ignore: ['oraclejet-tooling']}], // since oraclejet-tooling is defined as a url, we need it in the ignore list.
19+
"no-use-before-define" : ["error", {"functions" : false, "classes" : true}],
20+
"no-plusplus": ["off", {"allowForLoopAfterthoughts": true }] // allow ++ in loops
21+
}
22+
};

index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
3+
The Universal Permissive License (UPL), Version 1.0
4+
*/
5+
// Default config
6+
module.exports = {
7+
extends: [
8+
'./es6/base'
9+
].map(require.resolve),
10+
rules: {}
11+
};

package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "eslint-config-oraclejet",
3+
"version": "3.0.0",
4+
"license": "UPL-1.0",
5+
"description": "JET Coding standards eslint config files",
6+
"keywords": [
7+
"eslint",
8+
"eslintconfig"
9+
],
10+
"homepage": "http://oraclejet.org",
11+
"files": [
12+
"es5",
13+
"es6",
14+
"*.js"
15+
],
16+
"dependencies":
17+
{
18+
"eslint-config-airbnb-base": "^10.0.1",
19+
"eslint-plugin-import": "^2.2.0"
20+
},
21+
"devDependencies":
22+
{
23+
"fs-extra": "^2.0.0"
24+
},
25+
"jetdocversion": "300"
26+
}

0 commit comments

Comments
 (0)